public class TestUnpackDependenciesMojo2 extends AbstractDependencyMojoTestCase
stubFactory, testDir| Constructor and Description |
|---|
TestUnpackDependenciesMojo2() |
| Modifier and Type | Method and Description |
|---|---|
void |
assertUnpacked(Artifact artifact,
boolean overWrite) |
File |
getUnpackedFile(Artifact artifact) |
protected void |
setUp() |
protected void |
tearDown() |
void |
testDontOverWriteRelease() |
void |
testDontOverWriteSnap() |
void |
testOverWriteIfNewer() |
void |
testOverWriteRelease() |
void |
testOverWriteSnap() |
copyFile, setResolver, setSilent, setUpconfigureMojo, configureMojo, extractPluginConfiguration, extractPluginConfiguration, getVariablesAndValuesFromObject, getVariablesAndValuesFromObject, getVariableValueFromObject, lookupEmptyMojo, lookupEmptyMojo, lookupMojo, lookupMojo, lookupMojo, setVariableValueToObjectcreateContainerInstance, customizeContext, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getContainer, getCustomConfiguration, getResourceAsStream, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, releaseassertEquals, 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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toStringprotected void setUp()
throws Exception
setUp in class AbstractMojoTestCaseExceptionprotected void tearDown()
tearDown in class AbstractDependencyMojoTestCasepublic void testDontOverWriteRelease()
throws MojoExecutionException,
InterruptedException,
IOException,
MojoFailureException
public void testOverWriteRelease()
throws MojoExecutionException,
InterruptedException,
IOException,
MojoFailureException
public void testDontOverWriteSnap()
throws MojoExecutionException,
InterruptedException,
IOException,
MojoFailureException
public void testOverWriteSnap()
throws MojoExecutionException,
InterruptedException,
IOException,
MojoFailureException
public void testOverWriteIfNewer()
throws MojoExecutionException,
InterruptedException,
IOException,
MojoFailureException
public void assertUnpacked(Artifact artifact, boolean overWrite) throws InterruptedException, MojoExecutionException, MojoFailureException
Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.