| com.sun.jbi.management.internal.support.TestDirectoryUtil
TestDirectoryUtil | public class TestDirectoryUtil extends junit.framework.TestCase (Code) | | |
testDeleteDir | public void testDeleteDir() throws Exception(Code) | | Happy path for deleteDir().
|
testDeleteDirBad | public void testDeleteDirBad() throws Exception(Code) | | Failure path for deleteDir() - file handle still open. I'm pretty sure
this will only fail on windows, so this test is kind of tricky. If
the deletion failed, an exception should be thrown. If the deletion
succeeded, then an exception should not be thrown.
|
testGetFolderNameListing | public void testGetFolderNameListing() throws Exception(Code) | | Various tests for testGetFolderNameListing()
|
testMarkDir | public void testMarkDir() throws Exception(Code) | | Happy-path tests for markDir() and isMarked().
|
testMarkDirBad | public void testMarkDirBad() throws Exception(Code) | | Negative tests for markDir() and isMarked().
|
testRemoveDir | public void testRemoveDir() throws Exception(Code) | | Happy path for removeDir().
|
testRemoveDirBad | public void testRemoveDirBad() throws Exception(Code) | | Failure path for removeDir() - file handle still open. I'm pretty sure
this will only fail on windows, so this test is kind of tricky. If
the deletion failed, the directory should be marked for deletion. If
the deletion succeeded, then an exception should not be thrown.
|
testRemoveMarkedDirs | public void testRemoveMarkedDirs() throws Exception(Code) | | Happy-path test for removeMarkedDirs(). Test to make sure it deletes
what it's supposed to and leaves the other stuff alone.
|
|
|