Lines Matching defs:dir
43 Path dir = TestUtil.createTemporaryDirectory();
45 DirectoryStream<Path> stream = newDirectoryStream(dir);
52 supportsLinks = TestUtil.supportsLinks(dir);
55 doBasicTests(dir);
56 doMoveTests(dir);
57 miscTests(dir);
60 TestUtil.removeAll(dir);
65 static void doBasicTests(Path dir) throws IOException {
66 Path dir1 = createDirectory(dir.resolve("dir1"));
67 Path dir2 = dir.resolve("dir2");
176 static void doMoveTests(Path dir) throws IOException {
177 Path dir1 = createDirectory(dir.resolve("dir1"));
178 Path dir2 = createDirectory(dir.resolve("dir2"));
218 String testDirAsString = System.getProperty("test.dir");
240 static void miscTests(Path dir) throws IOException {
242 createFile(dir.resolve(file));
245 (SecureDirectoryStream<Path>)newDirectoryStream(dir);
320 delete(dir.resolve(file));