TestDFSPermission

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total2,075 of 2,0750%31 of 310%58584274274242
testPermissionCheckingPerUser(UserGroupInformation, short[], short[], short[], Path[], Path[], Path[])2650%80%55272711
testPermissionChecking()2300%20%22323211
testTrashPermission()2150%20%22474711
static {...}1660%n/a11282811
testPermissionMessageOnNonDirAncestor()1330%n/a11333311
testPermissionSetting(TestDFSPermission.OpType)1290%20%22303011
checkNonExistentFile()950%n/a11333311
testOwnership(TestDFSPermission.OpType)890%n/a11151511
testAccessOwner()780%n/a11222211
TestDFSPermission()730%n/a11111111
testAccessGroupMember()640%n/a11171711
testAccessOthers()580%n/a11161611
create(FileSystem, Configuration, TestDFSPermission.OpType, Path, short, FsPermission)560%30%33111111
createAndCheckPermission(TestDFSPermission.OpType, Path, short, FsPermission, boolean)380%40%337711
testStats(UserGroupInformation, Path, short, short)360%n/a119911
setOwner(Path, String, String, boolean)340%40%339911
testCreateMkdirs(UserGroupInformation, Path, short, short)320%n/a118811
testFSNamesystemCheckAccess()240%n/a114411
testList(UserGroupInformation, Path, Path, short, short, short)220%n/a115511
testDeleteDir(UserGroupInformation, Path, short, short, short, short[], boolean)190%20%225511
initFileSystem(short)170%n/a113311
checkPermission(Path, short, boolean)160%20%224411
testImmutableFsPermission()140%n/a114411
checkOwnership(Path, String, String)140%n/a114411
testRename(UserGroupInformation, Path, Path, short, short, short, short)140%n/a113311
setUp()130%n/a113311
testOpen(UserGroupInformation, Path, short, short, short)120%n/a114411
testSetReplication(UserGroupInformation, Path, short, short, short)120%n/a113311
testSetTimes(UserGroupInformation, Path, short, short, short)120%n/a113311
create(FileSystem, Configuration, TestDFSPermission.OpType, Path)110%n/a112211
testDeleteFile(UserGroupInformation, Path, short, short)110%n/a113311
tearDown()100%20%224411
create(TestDFSPermission.OpType, Path, short, FsPermission)90%n/a112211
testPermissionSetting()70%n/a113311
getPermission(Path)70%n/a111111
create(TestDFSPermission.OpType, Path)70%n/a112211
testOwnership()70%n/a113311
getGroup(Path)60%n/a111111
getOwner(Path)60%n/a111111
lambda$testFSNamesystemCheckAccess$0(Path)60%n/a111111
closeFileSystem()40%n/a112211
checkNoPermissionDeny(IOException)40%n/a112211