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, setUp, setUp
configureMojo, configureMojo, extractPluginConfiguration, extractPluginConfiguration, getContainer, getPluginDescriptorLocation, getPluginDescriptorPath, getPublicDescriptorStream, getVariablesAndValuesFromObject, getVariablesAndValuesFromObject, getVariableValueFromObject, lookupConfiguredMojo, lookupConfiguredMojo, lookupEmptyMojo, lookupEmptyMojo, lookupMojo, lookupMojo, lookupMojo, newMavenSession, newMojoExecution, setupContainer, setupContainerConfiguration, setVariableValueToObject
customizeComponentConfiguration, customizeContainerConfiguration, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getConfigurationName, getCustomConfigurationName, getResourceAsStream, getTestConfiguration, getTestConfiguration, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, 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
- 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
Exception
public void testExcludeArtifactItemOverride() throws Exception
Exception
public void testIncludeArtifactItemMultipleMarker() throws Exception
Exception
Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.