public class TestUnpackDependenciesMojo2 extends AbstractDependencyMojoTestCase
stubFactory, testDir| Constructor and Description |
|---|
TestUnpackDependenciesMojo2() |
| Modifier and Type | Method and Description |
|---|---|
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() |
copyFile, installLocalRepository, setUp, setUpaddGuiceModules, configureMojo, configureMojo, extractPluginConfiguration, extractPluginConfiguration, getContainer, getPluginDescriptorLocation, getPluginDescriptorPath, getPublicDescriptorStream, getVariablesAndValuesFromObject, getVariablesAndValuesFromObject, getVariableValueFromObject, lookupConfiguredMojo, lookupConfiguredMojo, lookupEmptyMojo, lookupEmptyMojo, lookupMojo, lookupMojo, lookupMojo, newMavenSession, newMojoExecution, setupContainer, setupContainerConfiguration, setVariableValueToObjectcustomizeContainerConfiguration, customizeContext, getBasedir, getClassLoader, getConfigurationName, getCustomConfigurationName, getResourceAsStream, getTestConfiguration, getTestConfiguration, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, lookup, lookup, release, teardownContainerassertEquals, 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 org.apache.maven.plugin.testing.AbstractMojoTestCaseExceptionprotected void tearDown()
tearDown in class AbstractDependencyMojoTestCasepublic File getUnpackedFile(org.apache.maven.artifact.Artifact artifact)
public void testDontOverWriteRelease()
throws org.apache.maven.plugin.MojoExecutionException,
InterruptedException,
IOException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionInterruptedExceptionIOExceptionorg.apache.maven.plugin.MojoFailureExceptionpublic void testOverWriteRelease()
throws org.apache.maven.plugin.MojoExecutionException,
InterruptedException,
IOException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionInterruptedExceptionIOExceptionorg.apache.maven.plugin.MojoFailureExceptionpublic void testDontOverWriteSnap()
throws org.apache.maven.plugin.MojoExecutionException,
InterruptedException,
IOException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionInterruptedExceptionIOExceptionorg.apache.maven.plugin.MojoFailureExceptionpublic void testOverWriteSnap()
throws org.apache.maven.plugin.MojoExecutionException,
InterruptedException,
IOException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionInterruptedExceptionIOExceptionorg.apache.maven.plugin.MojoFailureExceptionpublic void testOverWriteIfNewer()
throws org.apache.maven.plugin.MojoExecutionException,
InterruptedException,
IOException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionInterruptedExceptionIOExceptionorg.apache.maven.plugin.MojoFailureExceptionpublic void assertUnpacked(org.apache.maven.artifact.Artifact artifact,
boolean overWrite)
throws InterruptedException,
org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
InterruptedExceptionorg.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionCopyright © 2002–2022 The Apache Software Foundation. All rights reserved.