Home
last modified time | relevance | path

Searched refs:rootDir (Results 1 – 2 of 2) sorted by relevance

/libcore/luni/src/test/java/libcore/java/nio/file/
DFiles2Test.java595 Path rootDir = filesSetup.getPathInTestDir("root"); in test_walkFileTree$Path$Set$int$FileVisitor_symbolicLinkFollow() local
637 Path rootDir = filesSetup.getPathInTestDir("root"); in test_walkFileTree$Path$FileVisitor() local
656 Path returnedPath = Files.walkFileTree(rootDir, new Files2Test.TestFileVisitor(dirMap)); in test_walkFileTree$Path$FileVisitor()
658 assertEquals(rootDir, returnedPath); in test_walkFileTree$Path$FileVisitor()
660 expectedDirMap.put(rootDir.getFileName(), VisitOption.POST_VISIT_DIRECTORY); in test_walkFileTree$Path$FileVisitor()
682 Path rootDir = filesSetup.getPathInTestDir("root"); in test_walkFileTree_depthFirst() local
695 Files.walkFileTree(rootDir, in test_walkFileTree_depthFirst()
697 assertEquals(rootDir.getFileName(), keyList.get(0)); in test_walkFileTree_depthFirst()
713 Path rootDir = filesSetup.getPathInTestDir("root"); in test_walkFileTree_negativeDepth() local
722 Files.walkFileTree(rootDir, option, -1, in test_walkFileTree_negativeDepth()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DFileTest.java2154 File rootDir = new File(System.getProperty("java.io.tmpdir")).getAbsoluteFile(); in test_list_withUnicodeFileName() local
2156 File dir = new File(rootDir, dirName); in test_list_withUnicodeFileName()
2162 String[] fileNames = rootDir.list(); in test_list_withUnicodeFileName()