public class TestIncludeExcludeUnpackDependenciesMojo extends AbstractDependencyMojoTestCase
stubFactory, testDir
Constructor and Description |
---|
TestIncludeExcludeUnpackDependenciesMojo() |
Modifier and Type | Method and Description |
---|---|
protected void |
setUp() |
protected void |
tearDown() |
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
public TestIncludeExcludeUnpackDependenciesMojo()
protected void setUp() throws Exception
setUp
in class AbstractMojoTestCase
Exception
protected void tearDown()
tearDown
in class AbstractDependencyMojoTestCase
public void testUnpackIncludesManyFiles() throws Exception
Exception
- in case of errorspublic void testUnpackIncludesSingleFile() throws Exception
Exception
- in case of errorspublic void testUnpackIncludesAllFiles() throws Exception
Exception
- in case of errorspublic void testUnpackExcludesManyFiles() throws Exception
Exception
- in case of errorspublic void testUnpackExcludesSingleFile() throws Exception
Exception
- in case of errorspublic void testUnpackExcludesAllFiles() throws Exception
Exception
- in case of errorsCopyright © 2002–2018 The Apache Software Foundation. All rights reserved.