public class FarthestConflictResolverTest extends AbstractConflictResolverTest
FarthestConflictResolver
.FarthestConflictResolver
a1, a2, b1, container
Constructor and Description |
---|
FarthestConflictResolverTest() |
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:1.0 wins in the scenario: |
void |
testEqualReversed()
Tests that
a:2.0 wins in the scenario: |
assertResolveConflict, createArtifact, createArtifact, createArtifact, createResolutionNode, createResolutionNode, getConflictResolver, setUp
@Test public void testDepth()
a:2.0
wins in the scenario:
a:1.0 b:1.0 -> a:2.0
@Test public void testDepthReversed()
a:2.0
wins in the scenario:
b:1.0 -> a:2.0 a:1.0
@Test public void testEqual()
a:1.0
wins in the scenario:
a:1.0 a:2.0
@Test public void testEqualReversed()
a:2.0
wins in the scenario:
a:2.0 a:1.0
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.