|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.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 Exception
setUp
in class AbstractMojoTestCase
Exception
protected void tearDown()
tearDown
in class AbstractDependencyMojoTestCase
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 testNoIncludeExcludes() throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |