public class OldestConflictResolverTest extends AbstractConflictResolverTest
OldestConflictResolver
.OldestConflictResolver
a1, a2, b1
Constructor and Description |
---|
OldestConflictResolverTest() |
Modifier and Type | Method and Description |
---|---|
void |
testDepth()
Tests that
a:1.0 wins in the scenario: |
void |
testDepthReversed()
Tests that
a:1.0 wins in the scenario: |
void |
testEqual()
Tests that
a:1.0 wins in the scenario: |
void |
testEqualReversed()
Tests that
a:1.0 wins in the scenario: |
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
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toString
public OldestConflictResolverTest() 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:1.0
wins in the scenario:
a:2.0 a:1.0
Copyright © 2001–2015 The Apache Software Foundation. All rights reserved.