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, setUp, setUp
configureMojo, configureMojo, extractPluginConfiguration, extractPluginConfiguration, getContainer, getPluginDescriptorLocation, getPluginDescriptorPath, getPublicDescriptorStream, getVariablesAndValuesFromObject, getVariablesAndValuesFromObject, getVariableValueFromObject, lookupConfiguredMojo, lookupConfiguredMojo, lookupEmptyMojo, lookupEmptyMojo, lookupMojo, lookupMojo, lookupMojo, newMavenSession, newMojoExecution, setupContainer, setupContainerConfiguration, setVariableValueToObject
customizeComponentConfiguration, customizeContainerConfiguration, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getConfigurationName, getCustomConfigurationName, getResourceAsStream, getTestConfiguration, getTestConfiguration, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, 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–2018 The Apache Software Foundation. All rights reserved.