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