public abstract class AbstractMavenProjectTestCase
extends org.codehaus.plexus.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(org.codehaus.plexus.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
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toString
protected ProjectBuilder projectBuilder
protected RepositorySystem repositorySystem
protected void customizeContainerConfiguration(org.codehaus.plexus.ContainerConfiguration containerConfiguration)
customizeContainerConfiguration
in class org.codehaus.plexus.PlexusTestCase
protected void setUp() throws Exception
setUp
in class org.codehaus.plexus.PlexusTestCase
Exception
protected void tearDown() throws Exception
tearDown
in class org.codehaus.plexus.PlexusTestCase
Exception
protected ProjectBuilder getProjectBuilder()
protected String getCustomConfigurationName()
getCustomConfigurationName
in class org.codehaus.plexus.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–2017 The Apache Software Foundation. All rights reserved.