public class NearestConflictResolverTest extends AbstractConflictResolverTest
NearestConflictResolver
.NearestConflictResolver
a1, a2, b1
Constructor and Description |
---|
NearestConflictResolverTest() |
Modifier and Type | Method and Description |
---|---|
void |
testDepth()
Tests that
a:1.0 wins in the scenario:
a:1.0
b:1.0 -> a:2.0
|
void |
testDepthReversed()
Tests that
a:1.0 wins in the scenario:
b:1.0 -> a:2.0
a:1.0
|
void |
testEqual()
Tests that
a:1.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
|
assertResolveConflict, assertUnresolvableConflict, createArtifact, createArtifact, createArtifact, createArtifact, getConflictResolver, setUp, tearDown
customizeContainerConfiguration, customizeContext, getBasedir, getClassLoader, getConfigurationName, getContainer, getCustomConfigurationName, getResourceAsStream, getTestConfiguration, getTestConfiguration, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, lookup, lookup, release, setupContainer, teardownContainer
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
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
public NearestConflictResolverTest() throws Exception
Exception
public void testDepth()
a:1.0
wins in the scenario:
a:1.0 b:1.0 -> a:2.0
public void testDepthReversed()
a:1.0
wins in the scenario:
b:1.0 -> a:2.0 a:1.0
public void testEqual()
a:1.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
Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.