public class FarthestConflictResolverTest extends AbstractConflictResolverTest
FarthestConflictResolver
.FarthestConflictResolver
a1, a2, b1
Constructor and Description |
---|
FarthestConflictResolverTest() |
Modifier and Type | Method and Description |
---|---|
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: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 FarthestConflictResolverTest() throws Exception
Exception
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: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.