Lines Matching defs:dir
43 static void checkAttributesOfDirectory(Path dir)
46 BasicFileAttributes attrs = Files.readAttributes(dir, BasicFileAttributes.class);
53 File f = new File(dir.toString());
58 static void checkAttributesOfFile(Path dir, Path file)
77 BasicFileAttributes dirAttrs = Files.readAttributes(dir, BasicFileAttributes.class);
106 static void attributeReadWriteTests(Path dir)
110 Path file = dir.resolve("foo");
116 checkAttributesOfDirectory(dir);
117 checkAttributesOfFile(dir, file);
120 Path link = dir.resolve("link");
133 Path dir = TestUtil.createTemporaryDirectory();
135 attributeReadWriteTests(dir);
137 TestUtil.removeAll(dir);