public abstract class AbstractArtifactComponentTestCase
extends org.codehaus.plexus.PlexusTestCase
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.maven.artifact.factory.ArtifactFactory |
artifactFactory |
protected org.apache.maven.repository.legacy.repository.ArtifactRepositoryFactory |
artifactRepositoryFactory |
| Constructor and Description |
|---|
AbstractArtifactComponentTestCase() |
customizeContext, getBasedir, getClassLoader, getConfigurationName, getContainer, getCustomConfigurationName, getResourceAsStream, getTestConfiguration, getTestConfiguration, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, lookup, lookup, release, setupContainer, teardownContainerassertEquals, 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, toStringprotected org.apache.maven.artifact.factory.ArtifactFactory artifactFactory
protected org.apache.maven.repository.legacy.repository.ArtifactRepositoryFactory artifactRepositoryFactory
protected void customizeContainerConfiguration(org.codehaus.plexus.ContainerConfiguration containerConfiguration)
customizeContainerConfiguration in class org.codehaus.plexus.PlexusTestCaseprotected void setUp()
throws Exception
setUp in class org.codehaus.plexus.PlexusTestCaseExceptionprotected void tearDown()
throws Exception
tearDown in class org.codehaus.plexus.PlexusTestCaseExceptionprotected abstract String component()
protected org.apache.maven.artifact.repository.ArtifactRepository badLocalRepository() throws Exception
Exceptionprotected String getRepositoryLayout()
protected org.apache.maven.artifact.repository.ArtifactRepository localRepository() throws Exception
Exceptionprotected org.apache.maven.artifact.repository.ArtifactRepository remoteRepository() throws Exception
Exceptionprotected org.apache.maven.artifact.repository.ArtifactRepository badRemoteRepository() throws Exception
Exceptionprotected void assertRemoteArtifactPresent(Artifact artifact) throws Exception
Exceptionprotected void assertLocalArtifactPresent(Artifact artifact) throws Exception
Exceptionprotected void assertRemoteArtifactNotPresent(Artifact artifact) throws Exception
Exceptionprotected void assertLocalArtifactNotPresent(Artifact artifact) throws Exception
Exceptionprotected List<org.apache.maven.artifact.repository.ArtifactRepository> remoteRepositories() throws Exception
Exceptionprotected Artifact createLocalArtifact(String artifactId, String version) throws Exception
Exceptionprotected Artifact createRemoteArtifact(String artifactId, String version) throws Exception
Exceptionprotected void createLocalArtifact(Artifact artifact) throws Exception
Exceptionprotected void createRemoteArtifact(Artifact artifact) throws Exception
Exceptionprotected void createArtifact(Artifact artifact, org.apache.maven.artifact.repository.ArtifactRepository repository) throws Exception
Exceptionprotected Artifact createArtifact(String artifactId, String version) throws Exception
Exceptionprotected Artifact createArtifact(String artifactId, String version, String type) throws Exception
Exceptionprotected Artifact createArtifact(String groupId, String artifactId, String version, String type) throws Exception
Exceptionprotected void deleteLocalArtifact(Artifact artifact) throws Exception
Exceptionprotected void deleteArtifact(Artifact artifact, org.apache.maven.artifact.repository.ArtifactRepository repository) throws Exception
Exceptionprotected RepositorySystemSession initRepoSession() throws Exception
ExceptionCopyright © 2001–2021 The Apache Software Foundation. All rights reserved.