public class TestUnpackMojo extends AbstractDependencyMojoTestCase
stubFactory, testDir
Constructor and Description |
---|
TestUnpackMojo() |
copyFile, setResolver, setSilent, setUp, tearDown
configureMojo, configureMojo, extractPluginConfiguration, extractPluginConfiguration, getVariablesAndValuesFromObject, getVariablesAndValuesFromObject, getVariableValueFromObject, lookupEmptyMojo, lookupEmptyMojo, lookupMojo, lookupMojo, lookupMojo, setVariableValueToObject
createContainerInstance, customizeContext, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getContainer, getCustomConfiguration, getResourceAsStream, getTestFile, getTestFile, getTestPath, getTestPath, 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 testGetArtifactItems() throws MojoExecutionException
MojoExecutionException
public void assertMarkerFiles(Collection<ArtifactItem> items, boolean exist)
public void assertMarkerFile(boolean val, ArtifactItem item)
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–2015 The Apache Software Foundation. All rights reserved.