Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/libcore/java/nio/file/
DFiles2Test.java597 Path dir2 = filesSetup.getPathInTestDir("root/dir1/dir2"); in test_walkFileTree$Path$Set$int$FileVisitor_symbolicLinkFollow() local
604 Files.createSymbolicLink(file2, dir2.toAbsolutePath()); in test_walkFileTree$Path$Set$int$FileVisitor_symbolicLinkFollow()
639 Path dir2 = filesSetup.getPathInTestDir("root/dir1/dir2"); in test_walkFileTree$Path$FileVisitor() local
662 expectedDirMap.put(dir2.getFileName(), VisitOption.POST_VISIT_DIRECTORY); in test_walkFileTree$Path$FileVisitor()
684 Path dir2 = filesSetup.getPathInTestDir("root/dir2"); in test_walkFileTree_depthFirst() local
689 Files.createDirectories(dir2); in test_walkFileTree_depthFirst()
700 assertEquals(dir2.getFileName(), keyList.get(3)); in test_walkFileTree_depthFirst()
702 } else if (keyList.get(1).equals(dir2.getFileName())){ in test_walkFileTree_depthFirst()
745 Path dir2 = filesSetup.getPathInTestDir("root/dir1/dir2"); in test_walkFileTree_maximumDepth() local
769 expectedDirMap.put(dir2.getFileName(), VisitOption.VISIT_FILE); in test_walkFileTree_maximumDepth()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DFileTest.java843 File f2 = null, f3 = null, dir2 = null; in test_getCanonicalPath() local
856 dir2 = new File(testdir, "longdirectory" + platformId); in test_getCanonicalPath()
857 if (!dir2.exists()) { in test_getCanonicalPath()
858 assertTrue("Could not create dir: " + dir2, dir2 in test_getCanonicalPath()
879 if (dir2 != null) { in test_getCanonicalPath()
880 dir2.delete(); in test_getCanonicalPath()