public class TestIncludeExcludeUnpackMojo extends AbstractDependencyMojoTestCase
stubFactory, testDir| Constructor and Description |
|---|
TestIncludeExcludeUnpackMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
assertMarkerFile(boolean val,
org.apache.maven.plugins.dependency.fromConfiguration.ArtifactItem item) |
void |
assertMarkerFiles(Collection<org.apache.maven.plugins.dependency.fromConfiguration.ArtifactItem> items,
boolean exist) |
protected void |
setUp() |
protected void |
tearDown() |
void |
testExcludeArtifactItemOverride() |
void |
testIncludeArtifactItemMultipleExecutions() |
void |
testIncludeArtifactItemMultipleMarker() |
void |
testIncludeArtifactItemOverride() |
void |
testNoIncludeExcludes() |
void |
testUnpackExcludesAllFiles()
This test will verify no files get unpacked
|
void |
testUnpackExcludesManyFiles()
This test will validate that only the 2 and 3 files get unpacked
|
void |
testUnpackExcludesSingleFile()
This test will verify only the 1, 11 & 3 files get unpacked
|
void |
testUnpackIncludesAllFiles()
This test will verify all files get unpacked
|
void |
testUnpackIncludesManyFiles()
This test will validate that only the 1 and 11 files get unpacked
|
void |
testUnpackIncludesSingleFile()
This test will verify only the 2 file gets unpacked
|
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, setVariableValueToObjectcustomizeComponentConfiguration, customizeContainerConfiguration, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getConfigurationName, getCustomConfigurationName, getResourceAsStream, getTestConfiguration, getTestConfiguration, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, lookup, lookup, releaseassertEquals, 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 AbstractMojoTestCaseExceptionprotected void tearDown()
tearDown in class AbstractDependencyMojoTestCasepublic void assertMarkerFiles(Collection<org.apache.maven.plugins.dependency.fromConfiguration.ArtifactItem> items, boolean exist)
public void assertMarkerFile(boolean val,
org.apache.maven.plugins.dependency.fromConfiguration.ArtifactItem item)
public void testUnpackIncludesManyFiles()
throws Exception
Exception - in case of errors.public void testUnpackIncludesSingleFile()
throws Exception
Exception - in case of errors.public void testUnpackIncludesAllFiles()
throws Exception
Exception - in case of errors.public void testUnpackExcludesManyFiles()
throws Exception
Exception - in case of errors.public void testUnpackExcludesSingleFile()
throws Exception
Exception - in case of errors.public void testUnpackExcludesAllFiles()
throws Exception
Exception - in case of errors.public void testIncludeArtifactItemOverride()
throws Exception
Exceptionpublic void testExcludeArtifactItemOverride()
throws Exception
Exceptionpublic void testIncludeArtifactItemMultipleMarker()
throws Exception
ExceptionCopyright © 2002–2021 The Apache Software Foundation. All rights reserved.