Home
last modified time | relevance | path

Searched refs:isSymbolicLink (Results 1 – 14 of 14) sorted by relevance

/libcore/ojluni/src/test/java/nio/file/attribute/
DBasicFileAttributeViewTest.java56 check(!attrs.isSymbolicLink(), "is not a link"); in checkAttributesOfDirectory()
71 check(!attrs.isSymbolicLink(), "is not a link"); in checkAttributesOfFile()
101 check(attrs.isSymbolicLink(), "is a link"); in checkAttributesOfLink()
DPosixFileAttributeViewTest.java189 if (!attrs.isSymbolicLink()) { in permissionTests()
/libcore/ojluni/src/main/java/java/nio/file/attribute/
DBasicFileAttributes.java107 boolean isSymbolicLink(); in isSymbolicLink() method
/libcore/luni/src/test/java/libcore/java/nio/file/
DDefaultSecureDirectoryStreamTest.java158 assertTrue(Files.isSymbolicLink(symlinkPath)); in test_newDirectoryStream_symbolicLink()
404 assertFalse(fileAttributeView.readAttributes().isSymbolicLink()); in test_getFileAttributeView()
431 assertFalse(fileAttributeView.readAttributes().isSymbolicLink()); in test_getFileAttributeView_Path()
438 assertFalse(fileAttributeView.readAttributes().isSymbolicLink()); in test_getFileAttributeView_Path()
443 assertTrue(Files.isSymbolicLink(symlinkPath)); in test_getFileAttributeView_Path()
475 assertTrue(Files.isSymbolicLink(symlinkPath)); in test_getFileAttributeView_Path_LinkOptions()
482 assertTrue(fileAttributeView.readAttributes().isSymbolicLink()); in test_getFileAttributeView_Path_LinkOptions()
493 assertFalse(fileAttributeView.readAttributes().isSymbolicLink()); in test_getFileAttributeView_Path_LinkOptions()
DLinuxPathTest.java332 assertFalse(Files.isSymbolicLink(realPath)); in test_toRealPath()
341 assertFalse(Files.isSymbolicLink(realPath)); in test_toRealPath()
349 assertFalse(Files.isSymbolicLink(realPath)); in test_toRealPath()
354 assertTrue(Files.isSymbolicLink(realPath)); in test_toRealPath()
DFiles2Test.java278 assertFalse(Files.isSymbolicLink(filesSetup.getTestPath())); in test_isSymbolicLink()
279 assertFalse(Files.isSymbolicLink(filesSetup.getDataFilePath())); in test_isSymbolicLink()
285 assertTrue(Files.isSymbolicLink(filesSetup.getTestPath())); in test_isSymbolicLink()
291 Files.isSymbolicLink(null); in test_isSymbolicLink_NPE()
605 assertTrue(Files.isSymbolicLink(file2)); in test_walkFileTree$Path$Set$int$FileVisitor_symbolicLinkFollow()
1424 assertTrue(Files.isSymbolicLink(file1)); in test_walk_FileSystemLoopException()
DDefaultFileSystemProviderTest.java468 assertTrue(Files.isSymbolicLink(filesSetup.getTestPath())); in test_createSymbolicLink()
484 assertTrue(Files.isSymbolicLink(filesSetup.getTestPath().toAbsolutePath())); in test_createSymbolicLink()
/libcore/ojluni/src/main/java/sun/nio/fs/
DLinuxDosFileAttributeView.java147 public boolean isSymbolicLink() { in readAttributes() method
148 return attrs.isSymbolicLink(); in readAttributes()
DUnixCopyFile.java465 if (sourceAttrs.isSymbolicLink()) { in move()
530 if (sm != null && sourceAttrs.isSymbolicLink()) { in copy()
575 if (sourceAttrs.isSymbolicLink()) { in copy()
DAbstractBasicFileAttributeView.java157 builder.add(IS_SYMBOLIC_LINK_NAME, attrs.isSymbolicLink()); in addRequestedBasicAttributes()
DUnixPath.java861 if (!attrs.isSymbolicLink()) { in toRealPath()
/libcore/ojluni/src/main/java/java/nio/file/
DCopyMoveHelper.java112 if (attrs.isSymbolicLink()) in copyToForeignTarget()
DFileTreeWalker.java210 if (cached != null && (!followLinks || !cached.isSymbolicLink())) { in getAttributes()
DFiles.java2151 public static boolean isSymbolicLink(Path path) {
2155 LinkOption.NOFOLLOW_LINKS).isSymbolicLink();