|
|||||||||||
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
Field Summary |
Fields inherited from class org.codehaus.plexus.PlexusTestCase |
basedir, container |
Constructor Summary | |
ArtifactResolverTest()
|
Method Summary | |
protected String |
component()
|
protected Artifact |
createArtifact(String groupId,
String artifactId,
String version,
String type)
|
protected void |
setUp()
|
void |
testResolutionFailureWhenArtifactNotPresentInRemoteRepository()
|
void |
testResolutionFailureWhenArtifactNotPresentInRemoteRepositoryWithMirrors()
|
void |
testResolutionFailureWhenMultipleArtifactsNotPresentInRemoteRepository()
|
void |
testResolutionOfAnArtifactWhereOneRemoteRepositoryIsBadButOneIsGood()
|
void |
testResolutionOfASingleArtifactWhereTheArtifactIsNotPresentLocallyAndMustBeRetrievedFromTheRemoteRepository()
|
void |
testResolutionOfASingleArtifactWhereTheArtifactIsPresentInTheLocalRepository()
|
void |
testResolveWithException()
Test deadlocking (which occurs even with a single artifact in error). |
void |
testTransitiveResolutionWhereAllArtifactsAreNotPresentInTheLocalRepositoryAndMustBeRetrievedFromTheRemoteRepository()
|
void |
testTransitiveResolutionWhereAllArtifactsArePresentInTheLocalRepository()
|
Methods inherited from class org.codehaus.plexus.PlexusTestCase |
createContainerInstance, customizeContext, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getContainer, getCustomConfiguration, getResourceAsStream, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, release, tearDown |
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 |
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
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 testResolutionFailureWhenArtifactNotPresentInRemoteRepositoryWithMirrors() throws Exception
Exception
public void testResolutionOfAnArtifactWhereOneRemoteRepositoryIsBadButOneIsGood() throws Exception
Exception
public void testResolutionFailureWhenMultipleArtifactsNotPresentInRemoteRepository() throws Exception
Exception
public void testResolveWithException() throws Exception
Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |