public abstract class AbstractConflictResolverTest extends 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 void |
assertUnresolvableConflict(ResolutionNode actualNode1,
ResolutionNode actualNode2) |
protected Artifact |
createArtifact(String id,
String version) |
protected Artifact |
createArtifact(String id,
String version,
boolean optional) |
protected Artifact |
createArtifact(String id,
String version,
String scope) |
protected Artifact |
createArtifact(String id,
String version,
String scope,
String inheritedScope,
boolean optional) |
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
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 AbstractConflictResolverTest(String roleHint) throws Exception
Exception
protected void setUp() throws Exception
setUp
in class PlexusTestCase
Exception
protected void tearDown() throws Exception
tearDown
in class PlexusTestCase
Exception
protected ConflictResolver getConflictResolver()
protected void assertResolveConflict(ResolutionNode expectedNode, ResolutionNode actualNode1, ResolutionNode actualNode2)
protected void assertUnresolvableConflict(ResolutionNode actualNode1, ResolutionNode actualNode2)
protected Artifact createArtifact(String id, String version) throws InvalidVersionSpecificationException
protected Artifact createArtifact(String id, String version, boolean optional) 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
Copyright © 2001–2013 The Apache Software Foundation. All rights reserved.