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, setUp
addGuiceModules, configureMojo, configureMojo, extractPluginConfiguration, extractPluginConfiguration, getContainer, getPluginDescriptorLocation, getPluginDescriptorPath, getPublicDescriptorStream, getVariablesAndValuesFromObject, getVariablesAndValuesFromObject, getVariableValueFromObject, lookupConfiguredMojo, lookupConfiguredMojo, lookupEmptyMojo, lookupEmptyMojo, lookupMojo, lookupMojo, lookupMojo, newMavenSession, newMojoExecution, setupContainer, setupContainerConfiguration, setVariableValueToObject
customizeContainerConfiguration, customizeContext, getBasedir, getClassLoader, getConfigurationName, getCustomConfigurationName, getResourceAsStream, getTestConfiguration, getTestConfiguration, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, lookup, lookup, release, teardownContainer
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 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.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
InterruptedException
IOException
org.apache.maven.plugin.MojoFailureException
public void testOverWriteRelease() throws org.apache.maven.plugin.MojoExecutionException, InterruptedException, IOException, org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
InterruptedException
IOException
org.apache.maven.plugin.MojoFailureException
public void testDontOverWriteSnap() throws org.apache.maven.plugin.MojoExecutionException, InterruptedException, IOException, org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
InterruptedException
IOException
org.apache.maven.plugin.MojoFailureException
public void testOverWriteSnap() throws org.apache.maven.plugin.MojoExecutionException, InterruptedException, IOException, org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
InterruptedException
IOException
org.apache.maven.plugin.MojoFailureException
public void testOverWriteIfNewer() throws org.apache.maven.plugin.MojoExecutionException, InterruptedException, IOException, org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
InterruptedException
IOException
org.apache.maven.plugin.MojoFailureException
public void assertUnpacked(org.apache.maven.artifact.Artifact artifact, boolean overWrite) throws InterruptedException, org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
InterruptedException
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.