TestPermission

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total1,121 of 1,1210%16 of 160%27272582581919
testFilePermission()3700%100%66757511
testCreate()2110%40%33494911
testBackwardCompatibility()770%n/a11232311
static {...}700%n/a11121211
checkPermission(FileSystem, String, FsPermission)530%20%227711
testNonSuperCannotChangeOwnerForNonExistentFile()420%n/a11101011
testNonSuperCannotChangeToOtherGroup()340%n/a118811
testNonSuperCannotChangeOwner()340%n/a118811
testNonSuperCannotChangeGroupForOtherFile()310%n/a118811
testSuperCanChangeOwnerGroup()290%n/a118811
testNonSuperCannotChangeOwnerForOtherFile()290%n/a118811
testNonSuperCanChangeToOwnGroup()250%n/a115511
canRename(FileSystem, Path, Path)220%n/a117711
canMkdirs(FileSystem, Path)210%n/a117711
canCreate(FileSystem, Path)210%n/a117711
testNonSuperCannotChangeGroupForNonExistentFile()190%n/a116611
canOpen(FileSystem, Path)180%n/a116611
createFile(FileSystem, String)120%n/a113311
TestPermission()0%n/a111111