public class NewestConflictResolverTest extends AbstractConflictResolverTest
NewestConflictResolver
.NewestConflictResolver
a1, a2, b1
Constructor and Description |
---|
NewestConflictResolverTest() |
Modifier and Type | Method and Description |
---|---|
void |
testDepth()
Tests that
a:2.0 wins in the scenario: |
void |
testDepthReversed()
Tests that
a:2.0 wins in the scenario: |
void |
testEqual()
Tests that
a:2.0 wins in the scenario: |
void |
testEqualReversed()
Tests that
a:2.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 NewestConflictResolverTest() 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: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
Copyright © 2001–2015 The Apache Software Foundation. All rights reserved.