public class FileUtilsDirectoryContainsTestCase extends FileBasedTestCase
FileUtils.directoryContains(File,File).FileUtils.directoryContains(File, File)| Constructor and Description |
|---|
FileUtilsDirectoryContainsTestCase(String name) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
setUp() |
protected void |
tearDown() |
void |
testCanonicalPath() |
void |
testDirectoryContainsDirectory() |
void |
testDirectoryContainsFile() |
void |
testDirectoryDoesNotContainFile() |
void |
testDirectoryDoesNotContainsDirectory() |
void |
testDirectoryDoesNotExist() |
void |
testFileDoesNotExist() |
void |
testFileDoesNotExistBug()
Test to demonstrate a file which does not exist returns false
|
void |
testSameFile() |
void |
testUnrealizedContainment() |
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 FileUtilsDirectoryContainsTestCase(String name)
protected void setUp() throws Exception
setUp in class junit.framework.TestCaseExceptionprotected void tearDown() throws Exception
tearDown in class junit.framework.TestCaseExceptionpublic void testCanonicalPath() throws IOException
IOExceptionpublic void testDirectoryContainsDirectory() throws IOException
IOExceptionpublic void testDirectoryContainsFile() throws IOException
IOExceptionpublic void testDirectoryDoesNotContainFile() throws IOException
IOExceptionpublic void testDirectoryDoesNotContainsDirectory() throws IOException
IOExceptionpublic void testDirectoryDoesNotExist() throws IOException
IOExceptionpublic void testSameFile() throws IOException
IOExceptionpublic void testFileDoesNotExist() throws IOException
IOExceptionpublic void testFileDoesNotExistBug() throws IOException
IOExceptionpublic void testUnrealizedContainment() throws IOException
IOExceptionCopyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.