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, setUp
configureMojo, configureMojo, extractPluginConfiguration, extractPluginConfiguration, getVariablesAndValuesFromObject, getVariablesAndValuesFromObject, getVariableValueFromObject, lookupEmptyMojo, lookupEmptyMojo, lookupMojo, lookupMojo, lookupMojo, setVariableValueToObject
createContainerInstance, customizeContext, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getContainer, getCustomConfiguration, getResourceAsStream, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, release
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toString
protected void setUp() throws Exception
setUp
in class AbstractMojoTestCase
Exception
protected void tearDown()
tearDown
in class AbstractDependencyMojoTestCase
public 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.