Home
last modified time | relevance | path

Searched refs:toAbsolutePath (Results 1 – 10 of 10) sorted by relevance

/libcore/luni/src/test/java/libcore/java/nio/file/
DLinuxPathTest.java75 Path absolutePath = dummyPath.toAbsolutePath(); in test_isAbsolute()
81 assertEquals(Paths.get("/"), dummyPath.toAbsolutePath().getRoot()); in test_getRoot()
88 assertEquals(dummyPath, dummyPath.toAbsolutePath().getFileName()); in test_getFileName()
155 assertTrue(dummyPath.toAbsolutePath().startsWith("/")); in test_startsWith$String()
168 assertTrue(dummyPath.toAbsolutePath().startsWith(Paths.get("/"))); in test_startsWith$Path()
222 assertEquals(p.toAbsolutePath(), p1.resolve(p.toAbsolutePath())); in test_resolve$Path()
223 assertEquals(p1p.toAbsolutePath(), p1.toAbsolutePath().resolve(p)); in test_resolve$Path()
237 assertEquals(p1p.toAbsolutePath(), p1.toAbsolutePath().resolve("p")); in test_resolve$String()
251 assertEquals(c2.toAbsolutePath(), parent_c1.resolveSibling(c2.toAbsolutePath())); in test_resolveSibling$Path()
252 assertEquals(parent_c2.toAbsolutePath(), parent_c1.toAbsolutePath().resolveSibling(c2)); in test_resolveSibling$Path()
[all …]
DDefaultFileSystemProviderTest.java467 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()
DDefaultFileSystemProvider2Test.java207 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()
DFiles2Test.java332 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/
DPath.java534 Path toAbsolutePath(); in toAbsolutePath() method
DFiles.java737 dir = dir.toAbsolutePath();
/libcore/ojluni/src/main/java/sun/nio/fs/
DUnixUriUtils.java101 byte[] path = up.toAbsolutePath().asByteArray();
DUnixPath.java811 public UnixPath toAbsolutePath() { in toAbsolutePath() method in UnixPath
829 UnixPath absolute = toAbsolutePath(); in toRealPath()
/libcore/tools/upstream/src/main/java/libcore/
DRepository.java95 return p == null ? null : rootPath.resolve(p).toAbsolutePath(); in absolutePath()
/libcore/ojluni/src/main/java/java/util/logging/
DFileHandler.java409 parent = path.toAbsolutePath().getParent(); in isParentWritable()