Searched refs:dir2 (Results 1 – 2 of 2) sorted by relevance
597 Path dir2 = filesSetup.getPathInTestDir("root/dir1/dir2"); in test_walkFileTree$Path$Set$int$FileVisitor_symbolicLinkFollow() local604 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() local662 expectedDirMap.put(dir2.getFileName(), VisitOption.POST_VISIT_DIRECTORY); in test_walkFileTree$Path$FileVisitor()684 Path dir2 = filesSetup.getPathInTestDir("root/dir2"); in test_walkFileTree_depthFirst() local689 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() local769 expectedDirMap.put(dir2.getFileName(), VisitOption.VISIT_FILE); in test_walkFileTree_maximumDepth()[all …]
843 File f2 = null, f3 = null, dir2 = null; in test_getCanonicalPath() local856 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()