Home
last modified time | relevance | path

Searched refs:toRealPath (Results 1 – 5 of 5) sorted by relevance

/libcore/ojluni/src/test/java/nio/file/Path/
DMisc.java81 assertTrue(Files.isSameFile(file.toRealPath(), file.toRealPath(NOFOLLOW_LINKS))); in testToRealPath()
88 doesNotExist.toRealPath(); in testToRealPath()
93 doesNotExist.toRealPath(NOFOLLOW_LINKS); in testToRealPath()
104 assertTrue(link.toRealPath().equals(resolvedFile.toRealPath())); in testToRealPath()
113 assertTrue(link.toRealPath(NOFOLLOW_LINKS).getFileName().equals(link.getFileName())); in testToRealPath()
122 assertTrue(link.toRealPath(NOFOLLOW_LINKS).getFileName().equals(link.getFileName())); in testToRealPath()
129 assertTrue(dir.resolve(".").toRealPath().equals(dir.toRealPath())); in testToRealPath()
130 … assertTrue(dir.resolve(".").toRealPath(NOFOLLOW_LINKS).equals(dir.toRealPath(NOFOLLOW_LINKS))); in testToRealPath()
137 assertTrue(subdir.resolve("..").toRealPath().equals(dir.toRealPath())); in testToRealPath()
138 …assertTrue(subdir.resolve("..").toRealPath(NOFOLLOW_LINKS).equals(dir.toRealPath(NOFOLLOW_LINKS))); in testToRealPath()
/libcore/luni/src/test/java/libcore/java/nio/file/
DLinuxPathTest.java325 fakePath.toRealPath(); in test_toRealPath()
329 Path realPath = filesSetup.getTestPath().toRealPath(); in test_toRealPath()
338 realPath = file.toRealPath(); in test_toRealPath()
346 realPath = symLink.toRealPath(); in test_toRealPath()
351 realPath = symLink.toRealPath(LinkOption.NOFOLLOW_LINKS); in test_toRealPath()
/libcore/ojluni/src/main/java/java/nio/file/
DPath.java694 Path toRealPath(LinkOption... options) throws IOException; in toRealPath() method
/libcore/ojluni/src/main/java/sun/nio/fs/
DUnixPath.java826 public Path toRealPath(LinkOption... options) throws IOException { in toRealPath() method in UnixPath
/libcore/api/
Dcurrent.txt7491 …method public java.nio.file.Path toRealPath(java.nio.file.LinkOption...) throws java.io.IOExceptio…