void function ( ) { File loc0 = mTestFolder . newFile ( "srini_string" ) ; File loc1 = mTestFolder . newFile ( "srini_string" ) ; FileUtils . move ( loc0 . getAbsolutePath ( ) , loc1 . getAbsolutePath ( ) ) ; Assert . assertFalse ( loc0 . exists ( ) ) ; Assert . assertTrue ( loc1 . exists ( ) ) ; }
tests the fileutils #move string , string method . concode_field_sep ExpectedException mException concode_elem_sep TemporaryFolder mTestFolder concode_field_sep void changeLocalDirPermissionTests concode_elem_sep void setLocalDirStickyBitTest concode_elem_sep void createDirTest concode_elem_sep void deleteFileTest concode_elem_sep void deleteNonExistentFileTest concode_elem_sep void changeLocalFilePermissionTest concode_elem_sep void changeNonExistentFileTest concode_elem_sep void moveNonExistentFileTest concode_elem_sep void createBlockPathTest concode_elem_sep void createFileTest