public abstract class AbstractConflictResolverTest extends Object
Modifier and Type | Field and Description |
---|---|
protected Artifact |
a1 |
protected Artifact |
a2 |
protected Artifact |
b1 |
protected org.codehaus.plexus.PlexusContainer |
container |
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() |
void |
setUp() |
protected Artifact a1
protected Artifact a2
protected Artifact b1
@Inject protected org.codehaus.plexus.PlexusContainer container
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–2022 The Apache Software Foundation. All rights reserved.