public class ArtifactResolverTest extends AbstractArtifactComponentTestCase
artifactFactory, artifactRepositoryFactory
Constructor and Description |
---|
ArtifactResolverTest() |
Modifier and Type | Method and Description |
---|---|
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() |
assertLocalArtifactNotPresent, assertLocalArtifactPresent, assertRemoteArtifactNotPresent, assertRemoteArtifactPresent, badLocalRepository, badRemoteRepository, createArtifact, createArtifact, createArtifact, createLocalArtifact, createLocalArtifact, createRemoteArtifact, createRemoteArtifact, customizeContainerConfiguration, deleteArtifact, deleteLocalArtifact, getRepositoryLayout, initRepoSession, localRepository, remoteRepositories, remoteRepository
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 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
Copyright © 2001–2021 The Apache Software Foundation. All rights reserved.