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(org.apache.maven.artifact.resolver.ResolutionNode expectedNode,
org.apache.maven.artifact.resolver.ResolutionNode actualNode1,
org.apache.maven.artifact.resolver.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 org.apache.maven.artifact.resolver.ResolutionNode |
createResolutionNode(Artifact Artifact) |
protected org.apache.maven.artifact.resolver.ResolutionNode |
createResolutionNode(Artifact Artifact,
org.apache.maven.artifact.resolver.ResolutionNode parent) |
protected org.apache.maven.repository.legacy.resolver.conflict.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 org.apache.maven.repository.legacy.resolver.conflict.ConflictResolver getConflictResolver()
protected void assertResolveConflict(org.apache.maven.artifact.resolver.ResolutionNode expectedNode, org.apache.maven.artifact.resolver.ResolutionNode actualNode1, org.apache.maven.artifact.resolver.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 org.apache.maven.artifact.resolver.ResolutionNode createResolutionNode(Artifact Artifact)
protected org.apache.maven.artifact.resolver.ResolutionNode createResolutionNode(Artifact Artifact, org.apache.maven.artifact.resolver.ResolutionNode parent)
Copyright © 2001–2021 The Apache Software Foundation. All rights reserved.