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, container |
Methods inherited from class org.apache.maven.plugin.testing.AbstractMojoTestCase |
configureMojo, configureMojo, extractPluginConfiguration, extractPluginConfiguration, getVariablesAndValuesFromObject, getVariablesAndValuesFromObject, getVariableValueFromObject, lookupEmptyMojo, lookupEmptyMojo, lookupMojo, lookupMojo, lookupMojo, setVariableValueToObject |
Methods inherited from class org.codehaus.plexus.PlexusTestCase |
createContainerInstance, customizeContext, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getContainer, 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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TestCopyDependenciesMojo
public TestCopyDependenciesMojo()
setUp
protected void setUp()
throws java.lang.Exception
- Overrides:
setUp
in class org.apache.maven.plugin.testing.AbstractMojoTestCase
- Throws:
java.lang.Exception
assertNoMarkerFile
public void assertNoMarkerFile(org.apache.maven.artifact.Artifact artifact)
testCopyFile
public void testCopyFile()
throws org.apache.maven.plugin.MojoExecutionException,
java.io.IOException
- Throws:
org.apache.maven.plugin.MojoExecutionException
java.io.IOException
testMojo
public void testMojo()
throws java.lang.Exception
- tests the proper discovery and configuration of the mojo
- Throws:
java.lang.Exception
testStripVersion
public void testStripVersion()
throws java.lang.Exception
- Throws:
java.lang.Exception
testNoTransitive
public void testNoTransitive()
throws java.lang.Exception
- Throws:
java.lang.Exception
testExcludeType
public void testExcludeType()
throws java.lang.Exception
- Throws:
java.lang.Exception
testIncludeType
public void testIncludeType()
throws java.lang.Exception
- Throws:
java.lang.Exception
testExcludeArtifactId
public void testExcludeArtifactId()
throws java.lang.Exception
- Throws:
java.lang.Exception
testIncludeArtifactId
public void testIncludeArtifactId()
throws java.lang.Exception
- Throws:
java.lang.Exception
testIncludeGroupId
public void testIncludeGroupId()
throws java.lang.Exception
- Throws:
java.lang.Exception
testExcludeGroupId
public void testExcludeGroupId()
throws java.lang.Exception
- Throws:
java.lang.Exception
testExcludeMultipleGroupIds
public void testExcludeMultipleGroupIds()
throws java.lang.Exception
- Throws:
java.lang.Exception
testExcludeClassifier
public void testExcludeClassifier()
throws java.lang.Exception
- Throws:
java.lang.Exception
testIncludeClassifier
public void testIncludeClassifier()
throws java.lang.Exception
- Throws:
java.lang.Exception
testSubPerType
public void testSubPerType()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCDMClassifier
public void testCDMClassifier()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCDMType
public void testCDMType()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCDMClassifierType
public void testCDMClassifierType()
throws java.lang.Exception
- Throws:
java.lang.Exception
dotestClassifierType
public void dotestClassifierType(java.lang.String testClassifier,
java.lang.String testType)
throws java.lang.Exception
- Throws:
java.lang.Exception
testArtifactNotFound
public void testArtifactNotFound()
throws java.lang.Exception
- Throws:
java.lang.Exception
testArtifactResolutionException
public void testArtifactResolutionException()
throws java.lang.Exception
- Throws:
java.lang.Exception
dotestArtifactExceptions
public void dotestArtifactExceptions(boolean are,
boolean anfe)
throws java.lang.Exception
- Throws:
java.lang.Exception
testDontOverWriteRelease
public void testDontOverWriteRelease()
throws org.apache.maven.plugin.MojoExecutionException,
java.lang.InterruptedException,
java.io.IOException
- Throws:
org.apache.maven.plugin.MojoExecutionException
java.lang.InterruptedException
java.io.IOException
testOverWriteRelease
public void testOverWriteRelease()
throws org.apache.maven.plugin.MojoExecutionException,
java.lang.InterruptedException,
java.io.IOException
- Throws:
org.apache.maven.plugin.MojoExecutionException
java.lang.InterruptedException
java.io.IOException
testDontOverWriteSnap
public void testDontOverWriteSnap()
throws org.apache.maven.plugin.MojoExecutionException,
java.lang.InterruptedException,
java.io.IOException
- Throws:
org.apache.maven.plugin.MojoExecutionException
java.lang.InterruptedException
java.io.IOException
testOverWriteSnap
public void testOverWriteSnap()
throws org.apache.maven.plugin.MojoExecutionException,
java.lang.InterruptedException,
java.io.IOException
- Throws:
org.apache.maven.plugin.MojoExecutionException
java.lang.InterruptedException
java.io.IOException
testGetDependencies
public void testGetDependencies()
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
testExcludeProvidedScope
public void testExcludeProvidedScope()
throws java.lang.Exception
- Throws:
java.lang.Exception
testExcludeSystemScope
public void testExcludeSystemScope()
throws java.lang.Exception
- Throws:
java.lang.Exception
testExcludeCompileScope
public void testExcludeCompileScope()
throws java.lang.Exception
- Throws:
java.lang.Exception
testExcludeTestScope
public void testExcludeTestScope()
throws java.io.IOException
- Throws:
java.io.IOException
testExcludeRuntimeScope
public void testExcludeRuntimeScope()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCopyPom
public void testCopyPom()
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2002-2009 The Apache Software Foundation. All Rights Reserved.