public class TestIncludeExcludeUnpackMojo extends AbstractDependencyMojoTestCase
stubFactory, testDir| Constructor and Description |
|---|
TestIncludeExcludeUnpackMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
assertMarkerFile(boolean val,
ArtifactItem item) |
void |
assertMarkerFiles(Collection<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, setResolver, setSilent, setUpconfigureMojo, configureMojo, extractPluginConfiguration, extractPluginConfiguration, getVariablesAndValuesFromObject, getVariablesAndValuesFromObject, getVariableValueFromObject, lookupEmptyMojo, lookupEmptyMojo, lookupMojo, lookupMojo, lookupMojo, setVariableValueToObjectcreateContainerInstance, customizeContext, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getContainer, getCustomConfiguration, getResourceAsStream, getTestFile, getTestFile, getTestPath, getTestPath, 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<ArtifactItem> items, boolean exist)
public void assertMarkerFile(boolean val,
ArtifactItem item)
public void testUnpackIncludesManyFiles()
throws Exception
Exceptionpublic void testUnpackIncludesSingleFile()
throws Exception
Exceptionpublic void testUnpackIncludesAllFiles()
throws Exception
Exceptionpublic void testUnpackExcludesManyFiles()
throws Exception
Exceptionpublic void testUnpackExcludesSingleFile()
throws Exception
Exceptionpublic void testUnpackExcludesAllFiles()
throws Exception
Exceptionpublic void testIncludeArtifactItemOverride()
throws Exception
Exceptionpublic void testExcludeArtifactItemOverride()
throws Exception
Exceptionpublic void testIncludeArtifactItemMultipleMarker()
throws Exception
ExceptionCopyright © 2002–2014 The Apache Software Foundation. All rights reserved.