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 void |
setUp() |
protected void |
tearDown() |
customizeContext, getBasedir, getClassLoader, getConfigurationName, getContainer, getResourceAsStream, getTestConfiguration, getTestConfiguration, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, lookup, lookup, release, setupContainer, teardownContainer
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
assertEquals, 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, fail, fail, failNotEquals, failNotSame, failSame
protected ProjectBuilder projectBuilder
protected RepositorySystem repositorySystem
public AbstractMavenProjectTestCase()
protected void customizeContainerConfiguration(ContainerConfiguration containerConfiguration)
customizeContainerConfiguration
in class PlexusTestCase
protected void setUp() throws Exception
setUp
in class PlexusTestCase
Exception
protected void tearDown() throws Exception
tearDown
in class PlexusTestCase
Exception
protected ProjectBuilder getProjectBuilder()
protected String getCustomConfigurationName()
getCustomConfigurationName
in class PlexusTestCase
protected File getLocalRepositoryPath() throws FileNotFoundException, URISyntaxException
protected static File getFileForClasspathResource(String resource) throws FileNotFoundException
FileNotFoundException
protected ArtifactRepository getLocalRepository() throws Exception
Exception
protected MavenProject getProjectWithDependencies(File pom) throws Exception
Exception
protected MavenProject getProject(File pom) throws Exception
Exception
protected void initRepoSession(ProjectBuildingRequest request)
Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.