Searched refs:PosixFilePermissions (Results 1 – 8 of 8) sorted by relevance
56 Set<PosixFilePermission> perms = PosixFilePermissions.fromString(mode); in testPermissions()63 PosixFilePermissions.toString(current) + ", expected: " + in testPermissions()64 PosixFilePermissions.toString(perms)); in testPermissions()72 PosixFilePermissions.toString(current) + ", expected: " + in testPermissions()73 PosixFilePermissions.toString(perms)); in testPermissions()87 PosixFilePermissions.toString(actual) + ", requested: " + in checkSecure()88 PosixFilePermissions.toString(requested) + in checkSecure()102 Set<PosixFilePermission> requested = PosixFilePermissions.fromString(mode); in createWithPermissions()104 PosixFilePermissions.asFileAttribute(requested); in createWithPermissions()
43 import java.nio.file.attribute.PosixFilePermissions;150 Set<PosixFilePermission> perm = PosixFilePermissions.fromString("rwx------"); in test_createFile$String$Attr()151 FileAttribute<Set<PosixFilePermission>> attr = PosixFilePermissions.asFileAttribute(perm); in test_createFile$String$Attr()156 perm = PosixFilePermissions.fromString("rw-------"); in test_createFile$String$Attr()157 FileAttribute<Set<PosixFilePermission>> attr1 = PosixFilePermissions.asFileAttribute(perm); in test_createFile$String$Attr()172 Set<PosixFilePermission> perm = PosixFilePermissions.fromString("rwx------"); in test_createDirectory_delegation()173 FileAttribute<Set<PosixFilePermission>> attr = PosixFilePermissions.asFileAttribute(perm); in test_createDirectory_delegation()201 Set<PosixFilePermission> perm = PosixFilePermissions.fromString("rwx------"); in test_createDirectories$Path$Attr()202 FileAttribute<Set<PosixFilePermission>> attr = PosixFilePermissions.asFileAttribute(perm); in test_createDirectories$Path$Attr()208 perm = PosixFilePermissions.fromString("rw-------"); in test_createDirectories$Path$Attr()[all …]
44 import java.nio.file.attribute.PosixFilePermissions;426 Set<PosixFilePermission> perm = PosixFilePermissions.fromString("rwx------"); in test_createDirectory$String$FileAttr()427 FileAttribute<Set<PosixFilePermission>> attr = PosixFilePermissions.asFileAttribute(perm); in test_createDirectory$String$FileAttr()432 perm = PosixFilePermissions.fromString("rw-------"); in test_createDirectory$String$FileAttr()433 FileAttribute<Set<PosixFilePermission>> attr1 = PosixFilePermissions.asFileAttribute(perm); in test_createDirectory$String$FileAttr()442 Set<PosixFilePermission> perm = PosixFilePermissions.fromString("rwx------"); in test_createDirectory$String$FileAttr_NPE()443 FileAttribute<Set<PosixFilePermission>> attr = PosixFilePermissions.asFileAttribute(perm); in test_createDirectory$String$FileAttr_NPE()503 Set<PosixFilePermission> perm = PosixFilePermissions.fromString("rwx------"); in test_createSymbolicLink$Path$Attr()504 FileAttribute<Set<PosixFilePermission>> attr = PosixFilePermissions in test_createSymbolicLink$Path$Attr()514 Set<PosixFilePermission> perm = PosixFilePermissions.fromString("rwx------"); in test_createSymbolicLink$Path$Attr_NPE()[all …]
57 import java.nio.file.attribute.PosixFilePermissions;223 Set<PosixFilePermission> perm = PosixFilePermissions.fromString("rwx------"); in test_getPosixFilePermissions()224 FileAttribute<Set<PosixFilePermission>> attr = PosixFilePermissions.asFileAttribute(perm); in test_getPosixFilePermissions()239 Set<PosixFilePermission> perm = PosixFilePermissions.fromString("rwx------"); in test_setPosixFilePermissions()240 FileAttribute<Set<PosixFilePermission>> attr = PosixFilePermissions.asFileAttribute(perm); in test_setPosixFilePermissions()247 Set<PosixFilePermission> perm = PosixFilePermissions.fromString("rwx------"); in test_setPosixFilePermissions_NPE()248 FileAttribute<Set<PosixFilePermission>> attr = PosixFilePermissions.asFileAttribute(perm); in test_setPosixFilePermissions_NPE()525 Set<PosixFilePermission> perm = PosixFilePermissions.fromString("-wxrwxrwx"); in test_isReadable()547 Set<PosixFilePermission> perm = PosixFilePermissions.fromString("r-xrwxrwx"); in test_isWritable()569 Set<PosixFilePermission> perm = PosixFilePermissions.fromString("rw-rwxrwx"); in test_isExecutable()[all …]
46 import java.nio.file.attribute.PosixFilePermissions;534 Set<PosixFilePermission> perm = PosixFilePermissions.fromString("rwx------"); in test_newFileChannel_withFileAttributes()536 PosixFilePermissions.asFileAttribute(perm); in test_newFileChannel_withFileAttributes()
35 import java.nio.file.attribute.PosixFilePermissions;70 PosixFilePermissions.asFileAttribute(EnumSet.of(OWNER_READ, OWNER_WRITE));72 PosixFilePermissions.asFileAttribute(EnumSet
38 public final class PosixFilePermissions { class39 private PosixFilePermissions() { } in PosixFilePermissions() method in PosixFilePermissions
518 "ojluni/src/main/java/java/nio/file/attribute/PosixFilePermissions.java",