public class CleanMojoTest extends AbstractMojoTestCase
Constructor and Description |
---|
CleanMojoTest() |
Modifier and Type | Method and Description |
---|---|
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
|
configureMojo, configureMojo, extractPluginConfiguration, extractPluginConfiguration, getVariablesAndValuesFromObject, getVariablesAndValuesFromObject, getVariableValueFromObject, lookupEmptyMojo, lookupEmptyMojo, lookupMojo, lookupMojo, lookupMojo, setVariableValueToObject
createContainerInstance, customizeContext, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getContainer, getCustomConfiguration, getResourceAsStream, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, release
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
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
protected void setUp() throws Exception
setUp
in class AbstractMojoTestCase
Exception
protected void tearDown() throws Exception
tearDown
in class org.codehaus.plexus.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
Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.