|
||||||||||
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.repository.legacy.resolver.conflict.AbstractConflictResolverTest org.apache.maven.repository.legacy.resolver.conflict.NewestConflictResolverTest
public class NewestConflictResolverTest
Tests NewestConflictResolver
.
NewestConflictResolver
Field Summary |
---|
Fields inherited from class org.apache.maven.repository.legacy.resolver.conflict.AbstractConflictResolverTest |
---|
a1, a2, b1 |
Constructor Summary | |
---|---|
NewestConflictResolverTest()
|
Method Summary | |
---|---|
void |
testDepth()
Tests that a:2.0 wins in the scenario:
a:1.0
b:1.0 -> a:2.0
|
void |
testDepthReversed()
Tests that a:2.0 wins in the scenario:
b:1.0 -> a:2.0
a:1.0
|
void |
testEqual()
Tests that a:2.0 wins in the scenario:
a:1.0
a:2.0
|
void |
testEqualReversed()
Tests that a:2.0 wins in the scenario:
a:2.0
a:1.0
|
Methods inherited from class org.apache.maven.repository.legacy.resolver.conflict.AbstractConflictResolverTest |
---|
assertResolveConflict, assertUnresolvableConflict, createArtifact, createArtifact, createArtifact, createArtifact, getConflictResolver, setUp, tearDown |
Methods inherited from class org.codehaus.plexus.PlexusTestCase |
---|
customizeComponentConfiguration, customizeContainerConfiguration, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getConfigurationName, getContainer, getCustomConfigurationName, 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 NewestConflictResolverTest() throws Exception
Exception
Method Detail |
---|
public void testDepth()
a:2.0
wins in the scenario:
a:1.0 b:1.0 -> a:2.0
public void testDepthReversed()
a:2.0
wins in the scenario:
b:1.0 -> a:2.0 a:1.0
public void testEqual()
a:2.0
wins in the scenario:
a:1.0 a:2.0
public void testEqualReversed()
a:2.0
wins in the scenario:
a:2.0 a:1.0
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |