TestQuota

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total4,594 of 4,5940%34 of 340%58589499494141
testQuotaCommands()1,0890%n/a1116816811
testSpaceCommands()7590%n/a1115415411
testNamespaceCommands()5490%n/a1113313311
testMultipleFilesSmallerThanOneBlock()2140%40%33484811
testRenameInodeWithStorageType()1520%80%55252511
testMaxSpaceQuotas()1520%80%55343411
testBlockAllocationAdjustsUsageConservatively()1080%n/a11262611
testRename()1070%n/a11252511
testQuotaByStorageType()1020%n/a11242411
testQuotaCommandsWithURI()990%n/a11131311
testSpaceQuotaExceptionOnFlush()970%n/a11262611
testSpaceQuotaExceptionOnAppend()930%n/a11252511
testSetSpaceQuotaNegativeNumber()740%n/a11181811
testSpaceQuotaExceptionOnClose()720%n/a11181811
testSetAndClearSpaceQuotaByStorageType()680%n/a119911
testSetSpaceQuotaWhenStorageTypeIsWrong()660%n/a11131311
testClrQuotaOnRoot()660%n/a119911
testSetAndClearSpaceQuotaNoAccessInternal(String[], int, String)640%n/a11131311
testSetAndClearSpaceQuotaPathIsFile()620%n/a11111111
testHugeFileCount()570%20%22141411
testSetAndClearSpaceQuotaDirectoryNotExistInternal(String[], Path, int, String)540%n/a11111111
testSetAndClearSpaceQuotaPathIsFileInternal(String[], Path, int, String)540%n/a11131311
testSetAndClearSpaceQuotaRegular()500%n/a119911
testSetAndClearSpaceQuotaNoAccess()480%n/a119911
setUpClass()460%n/a11141411
testSetAndClearSpaceQuotaDirectoryNotExist()460%n/a118811
testSetAndClearSpaceQuotaByStorageTypeInternal(String[], Path, int, int, int)380%n/a11131311
testSetAndClearSpaceQuotaRegularInternal(String[], Path, int, int)320%n/a11101011
checkQuotaAndCount(DistributedFileSystem, Path)320%20%225511
scanIntoList(ByteArrayOutputStream, List)210%20%226611
testDSQuotaExceededExceptionIsHumanReadable()190%n/a116611
static {...}180%n/a116611
runCommand(DFSAdmin, String[], boolean)170%40%335511
tearDownClass()160%20%229911
restartCluster()150%20%225511
redirectStream()110%n/a113311
compareQuotaUsage(QuotaUsage, FileSystem, Path)0%n/a113311
checkContentSummary(ContentSummary, ContentSummary)0%n/a112211
resetStream()0%n/a113311
runCommand(DFSAdmin, boolean, String[])0%n/a112211
TestQuota()0%n/a111111