Searched refs:toAbsolutePath (Results 1 – 8 of 8) sorted by relevance
/libcore/luni/src/test/java/libcore/java/nio/file/ |
D | LinuxPathTest.java | 76 Path absolutePath = fakePath.toAbsolutePath(); in test_isAbsolute() 82 assertEquals(Paths.get("/"), fakePath.toAbsolutePath().getRoot()); in test_getRoot() 89 assertEquals(fakePath, fakePath.toAbsolutePath().getFileName()); in test_getFileName() 156 assertTrue(fakePath.toAbsolutePath().startsWith("/")); in test_startsWith$String() 169 assertTrue(fakePath.toAbsolutePath().startsWith(Paths.get("/"))); in test_startsWith$Path() 223 assertEquals(p.toAbsolutePath(), p1.resolve(p.toAbsolutePath())); in test_resolve$Path() 224 assertEquals(p1p.toAbsolutePath(), p1.toAbsolutePath().resolve(p)); in test_resolve$Path() 238 assertEquals(p1p.toAbsolutePath(), p1.toAbsolutePath().resolve("p")); in test_resolve$String() 252 assertEquals(c2.toAbsolutePath(), parent_c1.resolveSibling(c2.toAbsolutePath())); in test_resolveSibling$Path() 253 assertEquals(parent_c2.toAbsolutePath(), parent_c1.toAbsolutePath().resolveSibling(c2)); in test_resolveSibling$Path() [all …]
|
D | DefaultFileSystemProviderTest.java | 467 filesSetup.getDataFilePath().toAbsolutePath()); in test_createSymbolicLink() 474 filesSetup.getDataFilePath().toAbsolutePath()); in test_createSymbolicLink() 483 filesSetup.getTestPath().toAbsolutePath()); in test_createSymbolicLink() 484 assertTrue(Files.isSymbolicLink(filesSetup.getTestPath().toAbsolutePath())); in test_createSymbolicLink() 490 provider.createSymbolicLink(null, filesSetup.getDataFilePath().toAbsolutePath()); in test_createSymbolicLink_NPE() 507 filesSetup.getDataFilePath().toAbsolutePath(), attr); in test_createSymbolicLink$Path$Attr() 519 provider.createSymbolicLink(null, filesSetup.getDataFilePath().toAbsolutePath(), attr); in test_createSymbolicLink$Path$Attr_NPE()
|
D | DefaultFileSystemProvider2Test.java | 207 filesSetup.getDataFilePath().toAbsolutePath()); in test_readSymbolicLink() 208 assertEquals(filesSetup.getDataFilePath().toAbsolutePath(), in test_readSymbolicLink() 215 filesSetup.getTestPath().toAbsolutePath()); in test_readSymbolicLink() 216 assertEquals(filesSetup.getTestPath().toAbsolutePath(), in test_readSymbolicLink()
|
D | Files2Test.java | 332 filesSetup.getTestPath().toAbsolutePath()); in test_isRegularFile() 338 filesSetup.getDataFilePath().toAbsolutePath()); in test_isRegularFile() 447 filesSetup.getDataFilePath().toAbsolutePath()); in test_exists() 461 filesSetup.getTestPath().toAbsolutePath()); in test_exists() 484 filesSetup.getDataFilePath().toAbsolutePath()); in test_notExists() 498 filesSetup.getTestPath().toAbsolutePath()); in test_notExists() 604 Files.createSymbolicLink(file2, dir2.toAbsolutePath()); in test_walkFileTree$Path$Set$int$FileVisitor_symbolicLinkFollow() 652 Files.createSymbolicLink(file1, filesSetup.getDataFilePath().toAbsolutePath()); in test_walkFileTree$Path$FileVisitor() 810 Files.createSymbolicLink(file1, dir1.toAbsolutePath()); in test_walkFileTree$Path$FileVisitor_FileSystemLoopException() 1011 Files.createSymbolicLink(symLink, file1.toAbsolutePath()); in test_list() [all …]
|
/libcore/ojluni/src/main/java/java/nio/file/ |
D | Path.java | 534 Path toAbsolutePath(); in toAbsolutePath() method
|
D | Files.java | 737 dir = dir.toAbsolutePath();
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | UnixPath.java | 811 public UnixPath toAbsolutePath() { in toAbsolutePath() method in UnixPath 829 UnixPath absolute = toAbsolutePath(); in toRealPath()
|
/libcore/ojluni/src/main/java/java/util/logging/ |
D | FileHandler.java | 409 parent = path.toAbsolutePath().getParent(); in isParentWritable()
|