|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase org.codehaus.plexus.PlexusTestCase org.apache.maven.project.AbstractMavenProjectTestCase org.apache.maven.project.inheritance.AbstractProjectInheritanceTestCase org.apache.maven.project.inheritance.t09.ProjectInheritanceTest
public class ProjectInheritanceTest
Verifies exclusions listed in dependencyManagement are valid for transitive dependencies.
Field Summary |
---|
Fields inherited from class org.apache.maven.project.AbstractMavenProjectTestCase |
---|
projectBuilder, repositorySystem |
Constructor Summary | |
---|---|
ProjectInheritanceTest()
|
Method Summary | |
---|---|
void |
testDependencyManagementExclusionDoesNotOverrideGloballyForTransitives()
Setup exactly the same as the above test, except that the child project now depends upon d, which has a transitive dependency on c. |
void |
testDependencyManagementExclusionsExcludeTransitively()
How the test project is set up: 1. dependencyManagement lists dependencies on a & b, with an exclusion on c in b. 2. the child project lists a dependency on project a only 3. a depends on b (which is transitive to the child project), and b depends on c. |
Methods inherited from class org.apache.maven.project.inheritance.AbstractProjectInheritanceTestCase |
---|
getLocalRepositoryPath, getTestSeries, projectFile, projectFile |
Methods inherited from class org.apache.maven.project.AbstractMavenProjectTestCase |
---|
getCustomConfigurationName, getFileForClasspathResource, getLocalRepository, getProject, getProjectBuilder, getProjectWithDependencies, initRepoSession, setUp, tearDown |
Methods inherited from class org.codehaus.plexus.PlexusTestCase |
---|
customizeComponentConfiguration, customizeContainerConfiguration, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getConfigurationName, getContainer, getResourceAsStream, getTestConfiguration, getTestConfiguration, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, lookup, lookup, release, setupContainer |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString |
Methods inherited from class junit.framework.Assert |
---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ProjectInheritanceTest()
Method Detail |
---|
public void testDependencyManagementExclusionsExcludeTransitively() throws Exception
Exception
public void testDependencyManagementExclusionDoesNotOverrideGloballyForTransitives() throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |