public class FileCleaningTrackerTestCase extends FileBasedTestCase
FileCleaningTracker for correctness.FileCleaningTracker| Constructor and Description |
|---|
FileCleaningTrackerTestCase(String name) |
| Modifier and Type | Method and Description |
|---|---|
protected FileCleaningTracker |
newInstance() |
protected void |
setUp() |
protected void |
tearDown() |
void |
testFileCleanerDirectory_ForceStrategy() |
void |
testFileCleanerDirectory_NullStrategy() |
void |
testFileCleanerDirectory() |
void |
testFileCleanerExitWhenFinished_NoTrackAfter() |
void |
testFileCleanerExitWhenFinished1() |
void |
testFileCleanerExitWhenFinished2() |
void |
testFileCleanerExitWhenFinishedFirst() |
void |
testFileCleanerFile() |
void |
testFileCleanerNull() |
assertEqualContent, assertEqualContent, checkFile, checkWrite, checkWrite, createFile, createLineBasedFile, deleteFile, generateTestData, generateTestData, getTestDirectory, newFileassertEquals, 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, toStringpublic FileCleaningTrackerTestCase(String name)
protected FileCleaningTracker newInstance()
protected void setUp() throws Exception
setUp in class junit.framework.TestCaseExceptionTestCase.setUp()protected void tearDown() throws Exception
tearDown in class junit.framework.TestCaseExceptionTestCase.tearDown()public void testFileCleanerFile() throws Exception
Exceptionpublic void testFileCleanerDirectory() throws Exception
Exceptionpublic void testFileCleanerDirectory_NullStrategy() throws Exception
Exceptionpublic void testFileCleanerDirectory_ForceStrategy() throws Exception
Exceptionpublic void testFileCleanerNull() throws Exception
Exceptionpublic void testFileCleanerExitWhenFinishedFirst() throws Exception
Exceptionpublic void testFileCleanerExitWhenFinished_NoTrackAfter() throws Exception
Exceptionpublic void testFileCleanerExitWhenFinished1() throws Exception
Exceptionpublic void testFileCleanerExitWhenFinished2() throws Exception
ExceptionCopyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.