org.apache.maven.plugin.dependency
Class TestUnpackDependenciesMojo2
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.TestUnpackDependenciesMojo2
- All Implemented Interfaces:
- junit.framework.Test
public class TestUnpackDependenciesMojo2
- 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 |
TestUnpackDependenciesMojo2
public TestUnpackDependenciesMojo2()
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
getUnpackedFile
public java.io.File getUnpackedFile(org.apache.maven.artifact.Artifact artifact)
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
testOverWriteIfNewer
public void testOverWriteIfNewer()
throws org.apache.maven.plugin.MojoExecutionException,
java.lang.InterruptedException,
java.io.IOException
- Throws:
org.apache.maven.plugin.MojoExecutionException
java.lang.InterruptedException
java.io.IOException
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.