public class TestUnpackMojo extends AbstractDependencyMojoTestCase
stubFactory, testDir| Constructor and Description |
|---|
TestUnpackMojo() |
copyFile, installLocalRepository, setUp, setUp, tearDownaddGuiceModules, configureMojo, configureMojo, extractPluginConfiguration, extractPluginConfiguration, getContainer, getPluginDescriptorLocation, getPluginDescriptorPath, getPublicDescriptorStream, getVariablesAndValuesFromObject, getVariablesAndValuesFromObject, getVariableValueFromObject, lookupConfiguredMojo, lookupConfiguredMojo, lookupEmptyMojo, lookupEmptyMojo, lookupMojo, lookupMojo, lookupMojo, newMavenSession, newMojoExecution, setupContainer, setupContainerConfiguration, setVariableValueToObjectcustomizeContainerConfiguration, customizeContext, getBasedir, getClassLoader, getConfigurationName, getCustomConfigurationName, getResourceAsStream, getTestConfiguration, getTestConfiguration, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, lookup, lookup, release, 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 void setUp()
throws Exception
setUp in class org.apache.maven.plugin.testing.AbstractMojoTestCaseExceptionpublic ArtifactItem getSingleArtifactItem(boolean removeVersion) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionpublic void assertMarkerFiles(Collection<ArtifactItem> items, boolean exist)
public void assertMarkerFile(boolean val,
ArtifactItem item)
public void testUnpackToLocationWhereLocationCannotBeCreatedThrowsException()
throws Exception
Exceptionpublic void testMissingVersionNotFound()
throws Exception
Exceptionpublic List<org.apache.maven.model.Dependency> getDependencyList(ArtifactItem item)
public void testMissingVersionFromDependencies()
throws Exception
Exceptionpublic void testMissingVersionFromDependenciesWithClassifier()
throws Exception
Exceptionpublic List<org.apache.maven.model.Dependency> getDependencyMgtList(ArtifactItem item)
public void testMissingVersionFromDependencyMgt()
throws Exception
Exceptionpublic void testMissingVersionFromDependencyMgtWithClassifier()
throws Exception
Exceptionpublic void testArtifactResolutionException()
throws Exception
Exceptionpublic void dotestArtifactExceptions(boolean are,
boolean anfe)
throws Exception
Exceptionpublic void testNoArtifactItems()
public void testUnpackDontOverWriteReleases()
throws Exception
Exceptionpublic void testUnpackDontOverWriteSnapshots()
throws Exception
Exceptionpublic void testUnpackOverWriteReleases()
throws Exception
Exceptionpublic void testUnpackOverWriteSnapshot()
throws Exception
Exceptionpublic void testUnpackOverWriteIfNewer()
throws Exception
Exceptionpublic void assertUnpacked(ArtifactItem item, boolean overWrite) throws Exception
Exceptionpublic File getUnpackedFile(ArtifactItem item)
Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.