Searched refs:dirPath (Results 1 – 4 of 4) sorted by relevance
181 Path dirPath = filesSetup.getPathInTestDir("dir1/dir2/dir3"); in test_createDirectories() local182 assertFalse(Files.exists(dirPath)); in test_createDirectories()183 Files.createDirectories(dirPath); in test_createDirectories()184 assertTrue(Files.isDirectory(dirPath)); in test_createDirectories()187 Files.createDirectories(dirPath); in test_createDirectories()200 Path dirPath = filesSetup.getPathInTestDir("dir1/dir2/dir3"); in test_createDirectories$Path$Attr() local203 assertFalse(Files.exists(dirPath)); in test_createDirectories$Path$Attr()204 Files.createDirectories(dirPath, attr); in test_createDirectories$Path$Attr()205 assertEquals(attr.value(), Files.getAttribute(dirPath, attr.name())); in test_createDirectories$Path$Attr()210 Files.createDirectories(dirPath, attr); in test_createDirectories$Path$Attr()[all …]
551 Path dirPath = filesSetup.getPathInTestDir("dir"); in test_delete() local552 Files.createDirectory(dirPath); in test_delete()553 provider.delete(dirPath); in test_delete()554 assertFalse(Files.exists(dirPath)); in test_delete()558 Files.createDirectory(dirPath); in test_delete()561 provider.delete(dirPath); in test_delete()584 Path dirPath = filesSetup.getPathInTestDir("dir"); in test_deleteIfExist() local585 Files.createDirectory(dirPath); in test_deleteIfExist()586 assertTrue(Files.deleteIfExists(dirPath)); in test_deleteIfExist()587 assertFalse(Files.exists(dirPath)); in test_deleteIfExist()[all …]
165 Path dirPath = filesSetup.getPathInTestDir("dir1"); in test_move_directory() local169 Files.createDirectory(dirPath); in test_move_directory()173 provider.move(dirPath, dirPath2); in test_move_directory()184 assertFalse(Files.exists(dirPath)); in test_move_directory()191 Path dirPath = filesSetup.getPathInTestDir("dir1"); in test_move_directory_DirectoryNotEmptyException() local193 Files.createDirectory(dirPath); in test_move_directory_DirectoryNotEmptyException()195 Files.createFile(Paths.get(dirPath.toString(), DATA_FILE)); in test_move_directory_DirectoryNotEmptyException()198 Files.copy(dirPath, dirPath4, REPLACE_EXISTING); in test_move_directory_DirectoryNotEmptyException()
304 Path dirPath = filesSetup.getPathInTestDir(dirName); in test_isDirectory() local307 assertTrue(Files.isDirectory(dirPath)); in test_isDirectory()325 Path dirPath = filesSetup.getPathInTestDir("dir"); in test_isRegularFile() local326 Files.createDirectory(dirPath); in test_isRegularFile()327 assertFalse(Files.isRegularFile(dirPath)); in test_isRegularFile()