org.apache.maven.plugin.dependency
Class TestCopyDependenciesMojo
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.codehaus.plexus.PlexusTestCase
org.apache.maven.plugin.testing.AbstractMojoTestCase
org.apache.maven.plugin.dependency.AbstractDependencyMojoTestCase
org.apache.maven.plugin.dependency.TestCopyDependenciesMojo
- All Implemented Interfaces:
- junit.framework.Test
public class TestCopyDependenciesMojo
- extends AbstractDependencyMojoTestCase
Fields inherited from class org.codehaus.plexus.PlexusTestCase |
basedir |
Methods inherited from class org.apache.maven.plugin.testing.AbstractMojoTestCase |
configureMojo, configureMojo, extractPluginConfiguration, extractPluginConfiguration, getContainer, getPluginDescriptorLocation, getPluginDescriptorPath, getPublicDescriptorStream, getVariablesAndValuesFromObject, getVariablesAndValuesFromObject, getVariableValueFromObject, lookupConfiguredMojo, lookupConfiguredMojo, lookupEmptyMojo, lookupEmptyMojo, lookupMojo, lookupMojo, lookupMojo, newMavenSession, newMojoExecution, setupContainer, setupContainerConfiguration, setVariableValueToObject |
Methods inherited from class org.codehaus.plexus.PlexusTestCase |
createContainerInstance, customizeContext, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getCustomConfiguration, getResourceAsStream, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, release |
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString |
Methods inherited from class junit.framework.Assert |
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, fail, fail, failNotEquals, failNotSame, failSame |
TestCopyDependenciesMojo
public TestCopyDependenciesMojo()
setUp
protected void setUp()
throws Exception
- Overrides:
setUp
in class AbstractMojoTestCase
- Throws:
Exception
assertNoMarkerFile
public void assertNoMarkerFile(Artifact artifact)
testCopyFile
public void testCopyFile()
throws MojoExecutionException,
IOException
- Throws:
MojoExecutionException
IOException
testMojo
public void testMojo()
throws Exception
- tests the proper discovery and configuration of the mojo
- Throws:
Exception
testStripVersion
public void testStripVersion()
throws Exception
- Throws:
Exception
testUseBaseVersion
public void testUseBaseVersion()
throws Exception
- Throws:
Exception
testNoTransitive
public void testNoTransitive()
throws Exception
- Throws:
Exception
testExcludeType
public void testExcludeType()
throws Exception
- Throws:
Exception
testIncludeType
public void testIncludeType()
throws Exception
- Throws:
Exception
testExcludeArtifactId
public void testExcludeArtifactId()
throws Exception
- Throws:
Exception
testIncludeArtifactId
public void testIncludeArtifactId()
throws Exception
- Throws:
Exception
testIncludeGroupId
public void testIncludeGroupId()
throws Exception
- Throws:
Exception
testExcludeGroupId
public void testExcludeGroupId()
throws Exception
- Throws:
Exception
testExcludeMultipleGroupIds
public void testExcludeMultipleGroupIds()
throws Exception
- Throws:
Exception
testExcludeClassifier
public void testExcludeClassifier()
throws Exception
- Throws:
Exception
testIncludeClassifier
public void testIncludeClassifier()
throws Exception
- Throws:
Exception
testSubPerType
public void testSubPerType()
throws Exception
- Throws:
Exception
testCDMClassifier
public void testCDMClassifier()
throws Exception
- Throws:
Exception
testCDMType
public void testCDMType()
throws Exception
- Throws:
Exception
testCDMClassifierType
public void testCDMClassifierType()
throws Exception
- Throws:
Exception
dotestClassifierType
public void dotestClassifierType(String testClassifier,
String testType)
throws Exception
- Throws:
Exception
testArtifactNotFound
public void testArtifactNotFound()
throws Exception
- Throws:
Exception
testArtifactResolutionException
public void testArtifactResolutionException()
throws Exception
- Throws:
Exception
dotestArtifactExceptions
public void dotestArtifactExceptions(boolean are,
boolean anfe)
throws Exception
- Throws:
Exception
testDontOverWriteRelease
public void testDontOverWriteRelease()
throws MojoExecutionException,
InterruptedException,
IOException
- Throws:
MojoExecutionException
InterruptedException
IOException
testOverWriteRelease
public void testOverWriteRelease()
throws MojoExecutionException,
InterruptedException,
IOException
- Throws:
MojoExecutionException
InterruptedException
IOException
testDontOverWriteSnap
public void testDontOverWriteSnap()
throws MojoExecutionException,
InterruptedException,
IOException
- Throws:
MojoExecutionException
InterruptedException
IOException
testOverWriteSnap
public void testOverWriteSnap()
throws MojoExecutionException,
InterruptedException,
IOException
- Throws:
MojoExecutionException
InterruptedException
IOException
testGetDependencies
public void testGetDependencies()
throws MojoExecutionException
- Throws:
MojoExecutionException
testExcludeProvidedScope
public void testExcludeProvidedScope()
throws Exception
- Throws:
Exception
testExcludeSystemScope
public void testExcludeSystemScope()
throws Exception
- Throws:
Exception
testExcludeCompileScope
public void testExcludeCompileScope()
throws Exception
- Throws:
Exception
testExcludeTestScope
public void testExcludeTestScope()
throws IOException
- Throws:
IOException
testExcludeRuntimeScope
public void testExcludeRuntimeScope()
throws Exception
- Throws:
Exception
testCopyPom
public void testCopyPom()
throws Exception
- Throws:
Exception
testPrependGroupId
public void testPrependGroupId()
throws Exception
- Throws:
Exception
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.