org.apache.maven.plugin.dependency
Class TestUnpackDependenciesMojo
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.TestUnpackDependenciesMojo
- All Implemented Interfaces:
- junit.framework.Test
public class TestUnpackDependenciesMojo
- 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 |
TestUnpackDependenciesMojo
public TestUnpackDependenciesMojo()
setUp
protected void setUp()
throws java.lang.Exception
- Overrides:
setUp
in class org.apache.maven.plugin.testing.AbstractMojoTestCase
- Throws:
java.lang.Exception
tearDown
protected void tearDown()
- Overrides:
tearDown
in class AbstractDependencyMojoTestCase
assertUnpacked
public void assertUnpacked(org.apache.maven.artifact.Artifact artifact)
assertUnpacked
public void assertUnpacked(boolean val,
org.apache.maven.artifact.Artifact artifact)
assertMarkerFile
public void assertMarkerFile(boolean val,
org.apache.maven.artifact.Artifact artifact)
testMojo
public void testMojo()
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
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
testIncludeType
public void testIncludeType()
throws java.lang.Exception
- Throws:
java.lang.Exception
testSubPerType
public void testSubPerType()
throws java.lang.Exception
- Throws:
java.lang.Exception
testSubPerArtifact
public void testSubPerArtifact()
throws java.lang.Exception
- Throws:
java.lang.Exception
testSubPerArtifactAndType
public void testSubPerArtifactAndType()
throws java.lang.Exception
- Throws:
java.lang.Exception
testSubPerArtifactRemoveVersion
public void testSubPerArtifactRemoveVersion()
throws java.lang.Exception
- Throws:
java.lang.Exception
testSubPerArtifactAndTypeRemoveVersion
public void testSubPerArtifactAndTypeRemoveVersion()
throws java.lang.Exception
- Throws:
java.lang.Exception
testIncludeCompileScope
public void testIncludeCompileScope()
throws java.lang.Exception
- Throws:
java.lang.Exception
testIncludeTestScope
public void testIncludeTestScope()
throws java.lang.Exception
- Throws:
java.lang.Exception
testIncludeRuntimeScope
public void testIncludeRuntimeScope()
throws java.lang.Exception
- Throws:
java.lang.Exception
testIncludeprovidedScope
public void testIncludeprovidedScope()
throws java.lang.Exception
- Throws:
java.lang.Exception
testIncludesystemScope
public void testIncludesystemScope()
throws java.lang.Exception
- Throws:
java.lang.Exception
testIncludeArtifactId
public void testIncludeArtifactId()
throws java.lang.Exception
- Throws:
java.lang.Exception
testExcludeArtifactId
public void testExcludeArtifactId()
throws java.lang.Exception
- Throws:
java.lang.Exception
testExcludeGroupId
public void testExcludeGroupId()
throws java.lang.Exception
- Throws:
java.lang.Exception
testIncludeGroupId
public void testIncludeGroupId()
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
getUnpackedFile
public java.io.File getUnpackedFile(org.apache.maven.artifact.Artifact artifact)
getUnpackedMarkerHandler
public DefaultFileMarkerHandler getUnpackedMarkerHandler(org.apache.maven.artifact.Artifact artifact)
assertUnpacked
public void assertUnpacked(org.apache.maven.artifact.Artifact artifact,
boolean overWrite)
throws java.lang.InterruptedException,
org.apache.maven.plugin.MojoExecutionException
- Throws:
java.lang.InterruptedException
org.apache.maven.plugin.MojoExecutionException
Copyright © 2002-2009 The Apache Software Foundation. All Rights Reserved.