TestDFSPermission

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total1,999 of 1,9990%31 of 310%58584154154242
testPermissionCheckingPerUser(UserGroupInformation, short[], short[], short[], Path[], Path[], Path[])2650%80%55272711
testTrashPermission()2170%20%22454511
testPermissionChecking()2060%20%22323211
static {...}1540%n/a11282811
testPermissionSetting(TestDFSPermission.OpType)1290%20%22303011
testPermissionMessageOnNonDirAncestor()1170%n/a11292911
testOwnership(TestDFSPermission.OpType)890%n/a11151511
checkNonExistentFile()890%n/a11333311
testAccessOwner()800%n/a11202011
testAccessGroupMember()650%n/a11151511
TestDFSPermission()630%n/a11111111
testAccessOthers()590%n/a11141411
create(FileSystem, Configuration, TestDFSPermission.OpType, Path, short, FsPermission)500%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
testList(UserGroupInformation, Path, Path, short, short, short)220%n/a115511
testDeleteDir(UserGroupInformation, Path, short, short, short, short[], boolean)190%20%225511
testFSNamesystemCheckAccess()180%n/a114411
initFileSystem(short)170%n/a113311
checkPermission(Path, short, boolean)140%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