public abstract class AbstractMavenProjectTestCase extends PlexusTestCase
| Modifier and Type | Field and Description |
|---|---|
protected ProjectBuilder |
projectBuilder |
protected RepositorySystem |
repositorySystem |
| Constructor and Description |
|---|
AbstractMavenProjectTestCase() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
customizeContainerConfiguration(ContainerConfiguration containerConfiguration) |
protected String |
getCustomConfigurationName() |
protected static File |
getFileForClasspathResource(String resource) |
protected ArtifactRepository |
getLocalRepository() |
protected File |
getLocalRepositoryPath() |
protected MavenProject |
getProject(File pom) |
protected ProjectBuilder |
getProjectBuilder() |
protected MavenProject |
getProjectWithDependencies(File pom) |
protected void |
initRepoSession(ProjectBuildingRequest request) |
protected ProjectBuildingRequest |
newBuildingRequest() |
protected void |
setUp() |
protected void |
tearDown() |
customizeContext, getBasedir, getClassLoader, getConfigurationName, getContainer, getResourceAsStream, getTestConfiguration, getTestConfiguration, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, lookup, lookup, release, setupContainer, teardownContainerassertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toStringprotected ProjectBuilder projectBuilder
protected RepositorySystem repositorySystem
public AbstractMavenProjectTestCase()
protected void customizeContainerConfiguration(ContainerConfiguration containerConfiguration)
customizeContainerConfiguration in class PlexusTestCaseprotected void setUp() throws Exception
setUp in class PlexusTestCaseExceptionprotected void tearDown() throws Exception
tearDown in class PlexusTestCaseExceptionprotected ProjectBuilder getProjectBuilder()
protected String getCustomConfigurationName()
getCustomConfigurationName in class PlexusTestCaseprotected File getLocalRepositoryPath() throws FileNotFoundException, URISyntaxException
protected static File getFileForClasspathResource(String resource) throws FileNotFoundException
FileNotFoundExceptionprotected ArtifactRepository getLocalRepository() throws Exception
Exceptionprotected MavenProject getProjectWithDependencies(File pom) throws Exception
Exceptionprotected MavenProject getProject(File pom) throws Exception
Exceptionprotected ProjectBuildingRequest newBuildingRequest() throws Exception
Exceptionprotected void initRepoSession(ProjectBuildingRequest request)
Copyright © 2001–2015 The Apache Software Foundation. All rights reserved.