public abstract class AbstractConflictResolverTest
extends org.codehaus.plexus.PlexusTestCase
Modifier and Type | Field and Description |
---|---|
protected Artifact |
a1 |
protected Artifact |
a2 |
protected Artifact |
b1 |
Constructor and Description |
---|
AbstractConflictResolverTest(String roleHint) |
Modifier and Type | Method and Description |
---|---|
protected void |
assertResolveConflict(ResolutionNode expectedNode,
ResolutionNode actualNode1,
ResolutionNode actualNode2) |
protected Artifact |
createArtifact(String id,
String version) |
protected Artifact |
createArtifact(String id,
String version,
String scope) |
protected Artifact |
createArtifact(String id,
String version,
String scope,
String inheritedScope,
boolean optional) |
protected ResolutionNode |
createResolutionNode(Artifact Artifact) |
protected ResolutionNode |
createResolutionNode(Artifact Artifact,
ResolutionNode parent) |
protected ConflictResolver |
getConflictResolver() |
protected void |
setUp() |
protected void |
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
protected void setUp() throws Exception
setUp
in class org.codehaus.plexus.PlexusTestCase
Exception
protected void tearDown() throws Exception
tearDown
in class org.codehaus.plexus.PlexusTestCase
Exception
protected ConflictResolver getConflictResolver()
protected void assertResolveConflict(ResolutionNode expectedNode, ResolutionNode actualNode1, ResolutionNode actualNode2)
protected Artifact createArtifact(String id, String version) throws InvalidVersionSpecificationException
protected Artifact createArtifact(String id, String version, String scope) throws InvalidVersionSpecificationException
protected Artifact createArtifact(String id, String version, String scope, String inheritedScope, boolean optional) throws InvalidVersionSpecificationException
protected ResolutionNode createResolutionNode(Artifact Artifact)
protected ResolutionNode createResolutionNode(Artifact Artifact, ResolutionNode parent)
Copyright © 2001–2017 The Apache Software Foundation. All rights reserved.