public abstract class AbstractMavenProjectTestCase
extends org.codehaus.plexus.PlexusTestCase
Modifier and Type | Field and Description |
---|---|
protected org.apache.maven.project.ProjectBuilder |
projectBuilder |
protected org.apache.maven.repository.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 org.apache.maven.artifact.repository.ArtifactRepository |
getLocalRepository() |
protected File |
getLocalRepositoryPath() |
protected org.apache.maven.project.MavenProject |
getProject(File pom) |
protected org.apache.maven.project.ProjectBuilder |
getProjectBuilder() |
protected org.apache.maven.project.MavenProject |
getProjectFromRemoteRepository(File pom) |
protected org.apache.maven.project.MavenProject |
getProjectWithDependencies(File pom) |
protected void |
initRepoSession(org.apache.maven.project.ProjectBuildingRequest request) |
protected org.apache.maven.project.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, 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 org.apache.maven.project.ProjectBuilder projectBuilder
protected org.apache.maven.repository.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 org.apache.maven.project.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 org.apache.maven.artifact.repository.ArtifactRepository getLocalRepository() throws Exception
Exception
protected org.apache.maven.project.MavenProject getProjectWithDependencies(File pom) throws Exception
Exception
protected org.apache.maven.project.MavenProject getProject(File pom) throws Exception
Exception
protected org.apache.maven.project.MavenProject getProjectFromRemoteRepository(File pom) throws Exception
Exception
protected org.apache.maven.project.ProjectBuildingRequest newBuildingRequest() throws Exception
Exception
protected void initRepoSession(org.apache.maven.project.ProjectBuildingRequest request)
Copyright © 2001–2018 The Apache Software Foundation. All rights reserved.