|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase org.codehaus.plexus.PlexusTestCase org.apache.maven.plugin.testing.AbstractMojoTestCase org.apache.maven.plugin.dependency.AbstractDependencyMojoTestCase org.apache.maven.plugin.dependency.TestIncludeExcludeUnpackDependenciesMojo
public class TestIncludeExcludeUnpackDependenciesMojo
Field Summary |
---|
Fields inherited from class org.apache.maven.plugin.dependency.AbstractDependencyMojoTestCase |
---|
stubFactory, testDir |
Fields inherited from class org.codehaus.plexus.PlexusTestCase |
---|
basedir, container |
Constructor Summary | |
---|---|
TestIncludeExcludeUnpackDependenciesMojo()
|
Method Summary | |
---|---|
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 |
Methods inherited from class org.apache.maven.plugin.dependency.AbstractDependencyMojoTestCase |
---|
setUp |
Methods inherited from class org.apache.maven.plugin.testing.AbstractMojoTestCase |
---|
configureMojo, configureMojo, extractPluginConfiguration, extractPluginConfiguration, getVariablesAndValuesFromObject, getVariablesAndValuesFromObject, getVariableValueFromObject, lookupEmptyMojo, lookupEmptyMojo, lookupMojo, lookupMojo, lookupMojo, setVariableValueToObject |
Methods inherited from class org.codehaus.plexus.PlexusTestCase |
---|
createContainerInstance, customizeContext, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getContainer, getCustomConfiguration, getResourceAsStream, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, release |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString |
Methods inherited from class junit.framework.Assert |
---|
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, fail, fail, failNotEquals, failNotSame, failSame |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TestIncludeExcludeUnpackDependenciesMojo()
Method Detail |
---|
protected void setUp() throws java.lang.Exception
setUp
in class org.apache.maven.plugin.testing.AbstractMojoTestCase
java.lang.Exception
protected void tearDown()
tearDown
in class AbstractDependencyMojoTestCase
public void testUnpackIncludesManyFiles() throws java.lang.Exception
java.lang.Exception
public void testUnpackIncludesSingleFile() throws java.lang.Exception
java.lang.Exception
public void testUnpackIncludesAllFiles() throws java.lang.Exception
java.lang.Exception
public void testUnpackExcludesManyFiles() throws java.lang.Exception
java.lang.Exception
public void testUnpackExcludesSingleFile() throws java.lang.Exception
java.lang.Exception
public void testUnpackExcludesAllFiles() throws java.lang.Exception
java.lang.Exception
public void testNoIncludeExcludes() throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |