void function ( ) { File loc0 = new File ( mTestFolder . getRoot ( ) , "srini_string" ) ; mException . expect ( IOException . class ) ; FileUtils . delete ( loc0 . getAbsolutePath ( ) ) ; Assert . fail ( "srini_string" ) ; }
tests the fileutils #delete string method to throw an exception when trying to delete anon-existent file . concode_field_sep ExpectedException mException concode_elem_sep TemporaryFolder mTestFolder concode_field_sep void deleteFile concode_elem_sep void setLocalDirStickyBit concode_elem_sep void getLocalFileMode concode_elem_sep void changeNonExistentFile concode_elem_sep void moveNonExistentFile concode_elem_sep void moveFile concode_elem_sep void createFile concode_elem_sep void createStorageDirPath concode_elem_sep void changeLocalDirPermissionTests concode_elem_sep void concurrentCreateStorageDirPath concode_elem_sep void createDir concode_elem_sep void createBlockPath concode_elem_sep void changeLocalFilePermission concode_elem_sep void deletePathRecursively