|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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
public class TestUnpackDependenciesMojo2
Field Summary |
---|
Fields inherited from class org.apache.maven.plugin.dependency.AbstractDependencyMojoTestCase |
---|
stubFactory, testDir |
Fields inherited from class org.codehaus.plexus.PlexusTestCase |
---|
basedir, container |
Constructor Summary | |
---|---|
TestUnpackDependenciesMojo2()
|
Method Summary | |
---|---|
void |
assertUnpacked(org.apache.maven.artifact.Artifact artifact,
boolean overWrite)
|
File |
getUnpackedFile(org.apache.maven.artifact.Artifact artifact)
|
protected void |
setUp()
|
protected void |
tearDown()
|
void |
testDontOverWriteRelease()
|
void |
testDontOverWriteSnap()
|
void |
testOverWriteIfNewer()
|
void |
testOverWriteRelease()
|
void |
testOverWriteSnap()
|
Methods inherited from class org.apache.maven.plugin.dependency.AbstractDependencyMojoTestCase |
---|
setUp |
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 |
Constructor Detail |
---|
public TestUnpackDependenciesMojo2()
Method Detail |
---|
protected void setUp() throws Exception
setUp
in class org.apache.maven.plugin.testing.AbstractMojoTestCase
Exception
protected void tearDown()
tearDown
in class AbstractDependencyMojoTestCase
public File getUnpackedFile(org.apache.maven.artifact.Artifact artifact)
public void testDontOverWriteRelease() throws org.apache.maven.plugin.MojoExecutionException, InterruptedException, IOException
org.apache.maven.plugin.MojoExecutionException
InterruptedException
IOException
public void testOverWriteRelease() throws org.apache.maven.plugin.MojoExecutionException, InterruptedException, IOException
org.apache.maven.plugin.MojoExecutionException
InterruptedException
IOException
public void testDontOverWriteSnap() throws org.apache.maven.plugin.MojoExecutionException, InterruptedException, IOException
org.apache.maven.plugin.MojoExecutionException
InterruptedException
IOException
public void testOverWriteSnap() throws org.apache.maven.plugin.MojoExecutionException, InterruptedException, IOException
org.apache.maven.plugin.MojoExecutionException
InterruptedException
IOException
public void testOverWriteIfNewer() throws org.apache.maven.plugin.MojoExecutionException, InterruptedException, IOException
org.apache.maven.plugin.MojoExecutionException
InterruptedException
IOException
public void assertUnpacked(org.apache.maven.artifact.Artifact artifact, boolean overWrite) throws InterruptedException, org.apache.maven.plugin.MojoExecutionException
InterruptedException
org.apache.maven.plugin.MojoExecutionException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |