public class TestCopyMojo extends AbstractDependencyMojoTestCase
stubFactory, testDir
Constructor and Description |
---|
TestCopyMojo() |
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, boolean useBaseVersion) throws MojoExecutionException
MojoExecutionException
public void testGetArtifactItems() throws MojoExecutionException
MojoExecutionException
public void assertFilesExist(Collection<ArtifactItem> items, boolean exist)
public void assertFileExists(ArtifactItem item, boolean exist)
public void testMojoDefaults()
public void testCopyFileWithBaseVersion() throws Exception
Exception
public void testCopyStripVersionSetInMojo() throws Exception
Exception
public void testCopyStripClassifierSetInMojo() throws Exception
Exception
public void testMissingVersionNotFound() throws Exception
Exception
public List<Dependency> getDependencyList(ArtifactItem item)
public void testMissingVersionFromDependencies() throws Exception
Exception
public void testMissingVersionFromDependenciesLooseMatch() throws Exception
Exception
public void testMissingVersionFromDependenciesWithClassifier() throws Exception
Exception
public List<Dependency> getDependencyMgtList(ArtifactItem item)
public void testMissingVersionFromDependencyMgt() throws Exception
Exception
public void testMissingVersionFromDependencyMgtLooseMatch() 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 testCopyDontOverWriteReleases() throws Exception
Exception
public void testCopyDontOverWriteSnapshots() throws Exception
Exception
public void testCopyOverWriteReleases() throws Exception
Exception
public void testCopyOverWriteSnapshot() throws Exception
Exception
Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.