| edu.rice.cs.drjava.DrJavaTestCase edu.rice.cs.util.FileOpsTest
FileOpsTest | public class FileOpsTest extends DrJavaTestCase (Code) | | Test cases for
FileOps .
version: $Id: FileOpsTest.java 4255 2007-08-28 19:17:37Z mgricken $ |
main | public static void main(String[] args)(Code) | | Main method to be called by testDeleteDirectoryOnExit. Runs in a new JVM so the files can be deleted.
Exits with status 1 if wrong number of arguments. Exits with status 2 if file doesn't exist
Parameters: args - should contain the file name of the directory to delete on exit |
testConvertToAbsolutePathEntries | public void testConvertToAbsolutePathEntries()(Code) | | |
testCreateTempDirectory | public void testCreateTempDirectory() throws IOException(Code) | | |
testPackageExplore | public void testPackageExplore() throws IOException(Code) | | This tests that packageExplore correctly runs through and returns
non-empty packages
|
testReadAndWriteTempFile | public void testReadAndWriteTempFile() throws IOException(Code) | | |
testRecursiveDirectoryDelete | public void testRecursiveDirectoryDelete() throws IOException(Code) | | |
testSaveFile | public void testSaveFile() throws IOException(Code) | | This method checks that backups are made correctly, that when a save fails,
no data is lost, and that when a save is attempted on a write-protected file,
the save fails (bug #782963).
|
testSplitFile | public void testSplitFile()(Code) | | |
Fields inherited from edu.rice.cs.drjava.DrJavaTestCase | final public static String TEST_DRJAVA_CONFIG_PROPERTY(Code)(Java Doc)
|
|
|