|
||||||||||
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.artifact.AbstractArtifactComponentTestCase org.apache.maven.artifact.resolver.ArtifactResolverTest
public class ArtifactResolverTest
Field Summary |
---|
Fields inherited from class org.apache.maven.artifact.AbstractArtifactComponentTestCase |
---|
artifactFactory, artifactRepositoryFactory |
Constructor Summary | |
---|---|
ArtifactResolverTest()
|
Method Summary | |
---|---|
protected String |
component()
|
protected Artifact |
createArtifact(String groupId,
String artifactId,
String version,
String type)
|
protected void |
setUp()
|
protected void |
tearDown()
|
void |
testResolutionFailureWhenArtifactNotPresentInRemoteRepository()
|
void |
testResolutionOfAnArtifactWhereOneRemoteRepositoryIsBadButOneIsGood()
|
void |
testResolutionOfASingleArtifactWhereTheArtifactIsNotPresentLocallyAndMustBeRetrievedFromTheRemoteRepository()
|
void |
testResolutionOfASingleArtifactWhereTheArtifactIsPresentInTheLocalRepository()
|
void |
testTransitiveResolutionOrder()
|
void |
testTransitiveResolutionWhereAllArtifactsAreNotPresentInTheLocalRepositoryAndMustBeRetrievedFromTheRemoteRepository()
|
void |
testTransitiveResolutionWhereAllArtifactsArePresentInTheLocalRepository()
|
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 |
Constructor Detail |
---|
public ArtifactResolverTest()
Method Detail |
---|
protected void setUp() throws Exception
setUp
in class AbstractArtifactComponentTestCase
Exception
protected void tearDown() throws Exception
tearDown
in class AbstractArtifactComponentTestCase
Exception
protected String component()
component
in class AbstractArtifactComponentTestCase
public void testResolutionOfASingleArtifactWhereTheArtifactIsPresentInTheLocalRepository() throws Exception
Exception
public void testResolutionOfASingleArtifactWhereTheArtifactIsNotPresentLocallyAndMustBeRetrievedFromTheRemoteRepository() throws Exception
Exception
protected Artifact createArtifact(String groupId, String artifactId, String version, String type) throws Exception
createArtifact
in class AbstractArtifactComponentTestCase
Exception
public void testTransitiveResolutionWhereAllArtifactsArePresentInTheLocalRepository() throws Exception
Exception
public void testTransitiveResolutionWhereAllArtifactsAreNotPresentInTheLocalRepositoryAndMustBeRetrievedFromTheRemoteRepository() throws Exception
Exception
public void testResolutionFailureWhenArtifactNotPresentInRemoteRepository() throws Exception
Exception
public void testResolutionOfAnArtifactWhereOneRemoteRepositoryIsBadButOneIsGood() throws Exception
Exception
public void testTransitiveResolutionOrder() throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |