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 org.apache.maven.artifact.repository.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, 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
protected void customizeContainerConfiguration(org.codehaus.plexus.ContainerConfiguration containerConfiguration)
customizeContainerConfiguration in class org.codehaus.plexus.PlexusTestCaseprotected void setUp()
throws Exception
setUp in class org.codehaus.plexus.PlexusTestCaseExceptionprotected void tearDown()
throws Exception
tearDown in class org.codehaus.plexus.PlexusTestCaseExceptionprotected ProjectBuilder getProjectBuilder()
protected String getCustomConfigurationName()
getCustomConfigurationName in class org.codehaus.plexus.PlexusTestCaseprotected File getLocalRepositoryPath() throws FileNotFoundException, URISyntaxException
protected static File getFileForClasspathResource(String resource) throws FileNotFoundException
FileNotFoundExceptionprotected org.apache.maven.artifact.repository.ArtifactRepository getLocalRepository() throws Exception
Exceptionprotected MavenProject getProjectWithDependencies(File pom) throws Exception
Exceptionprotected MavenProject getProject(File pom) throws Exception
Exceptionprotected void initRepoSession(ProjectBuildingRequest request)
Copyright © 2001–2021 The Apache Software Foundation. All rights reserved.