|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase org.codehaus.plexus.PlexusTestCase org.apache.maven.repository.legacy.resolver.conflict.AbstractConflictResolverTest
public abstract class AbstractConflictResolverTest
Provides a basis for testing conflict resolvers.
Field Summary | |
---|---|
protected Artifact |
a1
|
protected Artifact |
a2
|
protected Artifact |
b1
|
Constructor Summary | |
---|---|
AbstractConflictResolverTest(String roleHint)
|
Method Summary | |
---|---|
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()
|
Methods inherited from class org.codehaus.plexus.PlexusTestCase |
---|
customizeComponentConfiguration, customizeContainerConfiguration, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getConfigurationName, getContainer, getCustomConfigurationName, getResourceAsStream, getTestConfiguration, getTestConfiguration, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, lookup, lookup, release, setupContainer |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString |
Methods inherited from class junit.framework.Assert |
---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected Artifact a1
protected Artifact a2
protected Artifact b1
Constructor Detail |
---|
public AbstractConflictResolverTest(String roleHint) throws Exception
Exception
Method Detail |
---|
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 void assertUnresolvableConflict(ResolutionNode actualNode1, ResolutionNode actualNode2)
protected Artifact createArtifact(String id, String version) throws InvalidVersionSpecificationException
InvalidVersionSpecificationException
protected Artifact createArtifact(String id, String version, boolean optional) throws InvalidVersionSpecificationException
InvalidVersionSpecificationException
protected Artifact createArtifact(String id, String version, String scope) throws InvalidVersionSpecificationException
InvalidVersionSpecificationException
protected Artifact createArtifact(String id, String version, String scope, String inheritedScope, boolean optional) throws InvalidVersionSpecificationException
InvalidVersionSpecificationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |