public class TestUnpackDependenciesMojo extends AbstractDependencyMojoTestCase
stubFactory, testDir
Constructor and Description |
---|
TestUnpackDependenciesMojo() |
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 void assertUnpacked(org.apache.maven.artifact.Artifact artifact)
public void assertUnpacked(boolean val, org.apache.maven.artifact.Artifact artifact)
public void assertMarkerFile(boolean val, org.apache.maven.artifact.Artifact artifact)
public void testExcludeTestScope() throws IOException, org.apache.maven.plugin.MojoFailureException
IOException
org.apache.maven.plugin.MojoFailureException
public void testSubPerArtifactAndType() throws Exception
Exception
public void testSubPerArtifactRemoveVersion() throws Exception
Exception
public void testSubPerArtifactAndTypeRemoveVersion() throws Exception
Exception
public void dotestClassifierType(String testClassifier, String testType) throws Exception
Exception
public void testArtifactResolutionException() throws Exception
Exception
public void dotestArtifactExceptions(boolean are, boolean anfe) throws Exception
Exception
public File getUnpackedFile(org.apache.maven.artifact.Artifact artifact)
public DefaultFileMarkerHandler getUnpackedMarkerHandler(org.apache.maven.artifact.Artifact artifact)
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.