|
|||||||||
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.clean.CleanMojoTest
public class CleanMojoTest
Test the clean mojo.
Field Summary |
---|
Fields inherited from class org.codehaus.plexus.PlexusTestCase |
---|
basedir, container |
Constructor Summary | |
---|---|
CleanMojoTest()
|
Method Summary | |
---|---|
protected void |
setUp()
|
protected void |
tearDown()
|
void |
testBasicClean()
Tests the simple removal of directories |
void |
testCleanEmptyDirectories()
Tests that no exception is thrown when all internal variables are empty and that it doesn't just remove whats there |
void |
testCleanInvalidDirectory()
Tests the removal of a directory as file |
void |
testCleanLockedFile()
Test the removal of a locked file on Windows systems. |
void |
testCleanLockedFileWithNoError()
Test the removal of a locked file on Windows systems. |
void |
testCleanNestedStructure()
Tests the removal of files and nested directories |
void |
testFilesetsClean()
Tests the removal of files using fileset |
void |
testMissingDirectory()
Tests the removal of a missing directory |
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CleanMojoTest()
Method Detail |
---|
protected void setUp() throws Exception
setUp
in class org.apache.maven.plugin.testing.AbstractMojoTestCase
Exception
protected void tearDown() throws Exception
tearDown
in class PlexusTestCase
Exception
public void testBasicClean() throws Exception
Exception
public void testCleanNestedStructure() throws Exception
Exception
public void testCleanEmptyDirectories() throws Exception
Exception
public void testFilesetsClean() throws Exception
Exception
public void testCleanInvalidDirectory() throws Exception
Exception
public void testMissingDirectory() throws Exception
Exception
public void testCleanLockedFile() throws Exception
Exception
public void testCleanLockedFileWithNoError() throws Exception
Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |