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, setUp
configureMojo, configureMojo, extractPluginConfiguration, extractPluginConfiguration, getVariablesAndValuesFromObject, getVariablesAndValuesFromObject, getVariableValueFromObject, lookupEmptyMojo, lookupEmptyMojo, lookupMojo, lookupMojo, lookupMojo, setVariableValueToObject
createContainerInstance, customizeContext, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getContainer, getCustomConfiguration, getResourceAsStream, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, release
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 AbstractMojoTestCase
Exception
protected void tearDown()
tearDown
in class AbstractDependencyMojoTestCase
public void assertMarkerFiles(Collection<ArtifactItem> items, boolean exist)
public void assertMarkerFile(boolean val, ArtifactItem item)
public void testUnpackIncludesManyFiles() throws Exception
Exception
public void testUnpackIncludesSingleFile() throws Exception
Exception
public void testUnpackIncludesAllFiles() throws Exception
Exception
public void testUnpackExcludesManyFiles() throws Exception
Exception
public void testUnpackExcludesSingleFile() throws Exception
Exception
public void testUnpackExcludesAllFiles() throws Exception
Exception
public void testIncludeArtifactItemOverride() throws Exception
Exception
public void testExcludeArtifactItemOverride() throws Exception
Exception
public void testIncludeArtifactItemMultipleMarker() throws Exception
Exception
Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.