org.apache.commons.io
Class FileSystemUtilsTestCase
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.apache.commons.io.testtools.FileBasedTestCase
org.apache.commons.io.FileSystemUtilsTestCase
- All Implemented Interfaces:
- junit.framework.Test
public class FileSystemUtilsTestCase
- extends FileBasedTestCase
This is used to test FileSystemUtils.
- Version:
- $Id: FileSystemUtilsTestCase.java 606380 2007-12-22 01:58:46Z ggregory $
| Methods inherited from class org.apache.commons.io.testtools.FileBasedTestCase |
assertEqualContent, assertEqualContent, checkFile, checkWrite, checkWrite, createFile, createLineBasedFile, deleteFile, generateTestData, generateTestData, getTestDirectory, newFile |
| 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 |
FileSystemUtilsTestCase
public FileSystemUtilsTestCase(java.lang.String name)
throws java.io.IOException
- Throws:
java.io.IOException
main
public static void main(java.lang.String[] args)
suite
public static junit.framework.Test suite()
setUp
protected void setUp()
throws java.lang.Exception
- Overrides:
setUp in class junit.framework.TestCase
- Throws:
java.lang.Exception
tearDown
protected void tearDown()
throws java.lang.Exception
- Overrides:
tearDown in class junit.framework.TestCase
- Throws:
java.lang.Exception
testGetFreeSpace_String
public void testGetFreeSpace_String()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetFreeSpaceOS_String_NullPath
public void testGetFreeSpaceOS_String_NullPath()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetFreeSpaceOS_String_InitError
public void testGetFreeSpaceOS_String_InitError()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetFreeSpaceOS_String_Other
public void testGetFreeSpaceOS_String_Other()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetFreeSpaceOS_String_Windows
public void testGetFreeSpaceOS_String_Windows()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetFreeSpaceOS_String_Unix
public void testGetFreeSpaceOS_String_Unix()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetFreeSpaceWindows_String_ParseCommaFormatBytes
public void testGetFreeSpaceWindows_String_ParseCommaFormatBytes()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetFreeSpaceWindows_String_EmptyPath
public void testGetFreeSpaceWindows_String_EmptyPath()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetFreeSpaceWindows_String_NormalResponse
public void testGetFreeSpaceWindows_String_NormalResponse()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetFreeSpaceWindows_String_StripDrive
public void testGetFreeSpaceWindows_String_StripDrive()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetFreeSpaceWindows_String_EmptyResponse
public void testGetFreeSpaceWindows_String_EmptyResponse()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetFreeSpaceWindows_String_EmptyMultiLineResponse
public void testGetFreeSpaceWindows_String_EmptyMultiLineResponse()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetFreeSpaceWindows_String_InvalidTextResponse
public void testGetFreeSpaceWindows_String_InvalidTextResponse()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetFreeSpaceWindows_String_NoSuchDirectoryResponse
public void testGetFreeSpaceWindows_String_NoSuchDirectoryResponse()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetFreeSpaceUnix_String_EmptyPath
public void testGetFreeSpaceUnix_String_EmptyPath()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetFreeSpaceUnix_String_NormalResponseLinux
public void testGetFreeSpaceUnix_String_NormalResponseLinux()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetFreeSpaceUnix_String_NormalResponseFreeBSD
public void testGetFreeSpaceUnix_String_NormalResponseFreeBSD()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetFreeSpaceUnix_String_NormalResponseKbLinux
public void testGetFreeSpaceUnix_String_NormalResponseKbLinux()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetFreeSpaceUnix_String_NormalResponseKbFreeBSD
public void testGetFreeSpaceUnix_String_NormalResponseKbFreeBSD()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetFreeSpaceUnix_String_NormalResponseKbSolaris
public void testGetFreeSpaceUnix_String_NormalResponseKbSolaris()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetFreeSpaceUnix_String_LongResponse
public void testGetFreeSpaceUnix_String_LongResponse()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetFreeSpaceUnix_String_LongResponseKb
public void testGetFreeSpaceUnix_String_LongResponseKb()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetFreeSpaceUnix_String_EmptyResponse
public void testGetFreeSpaceUnix_String_EmptyResponse()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetFreeSpaceUnix_String_InvalidResponse1
public void testGetFreeSpaceUnix_String_InvalidResponse1()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetFreeSpaceUnix_String_InvalidResponse2
public void testGetFreeSpaceUnix_String_InvalidResponse2()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetFreeSpaceUnix_String_InvalidResponse3
public void testGetFreeSpaceUnix_String_InvalidResponse3()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetFreeSpaceUnix_String_InvalidResponse4
public void testGetFreeSpaceUnix_String_InvalidResponse4()
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2002-2008 The Apache Software Foundation. All Rights Reserved.