public class TestCopyMojo extends AbstractDependencyMojoTestCase
stubFactory, testDir
Constructor and Description |
---|
TestCopyMojo() |
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, boolean useBaseVersion) throws MojoExecutionException
MojoExecutionException
public void testSetArtifactWithoutPackaging() throws Exception
Exception
public void testSetArtifactWithoutClassifier() throws Exception
Exception
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–2018 The Apache Software Foundation. All rights reserved.