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:
- 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.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 |
TestUnpackDependenciesMojo2
public TestUnpackDependenciesMojo2()
setUp
protected void setUp()
throws Exception
- Overrides:
setUp
in class AbstractMojoTestCase
- Throws:
Exception
tearDown
protected void tearDown()
- Overrides:
tearDown
in class AbstractDependencyMojoTestCase
getUnpackedFile
public File getUnpackedFile(Artifact artifact)
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
testOverWriteIfNewer
public void testOverWriteIfNewer()
throws MojoExecutionException,
InterruptedException,
IOException
- Throws:
MojoExecutionException
InterruptedException
IOException
assertUnpacked
public void assertUnpacked(Artifact artifact,
boolean overWrite)
throws InterruptedException,
MojoExecutionException
- Throws:
InterruptedException
MojoExecutionException
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.