FileContextMainOperationsBaseTest

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total3,983 of 3,9830%118 of 1180%1511518548549292
testListStatus()2130%80%55353511
testWorkingDirectory()1830%n/a11404011
testListFiles()1690%80%55212111
writeReadAndDelete(int)1060%20%22191911
testGlobStatusWithMultipleWildCardMatches()1040%40%33161611
testGlobStatusFilterWithSomePathMatchesAndTrivialFilter()970%40%33151511
testGlobStatusFilterWithMultipleWildCardMatchesAndTrivialFilter()970%40%33151511
testListStatusFilterWithSomeMatches()890%40%33141411
testGlobStatusFilterWithMultiplePathMatchesAndNonTrivialFilter()890%40%33141411
testGlobStatusFilterWithMultiplePathWildcardsAndNonTrivialFilter()890%40%33141411
testGlobStatusSomeMatchesInDirectories()880%40%33141411
testGlobStatusWithMultipleMatchesOfSingleChar()880%40%33141411
testDeleteRecursively()840%n/a11202011
testRenameDirectoryAsNonEmptyDirectory()800%20%22181811
testRenameDirectoryAsNonExistentDirectory(Options.Rename[])770%20%22171711
testListStatusFilterWithNoMatches()730%40%33121211
testGlobStatusFilterWithEmptyPathResults()730%40%33121211
testGlobStatusFilterWithNoMatchingPathsAndNonTrivialFilter()730%40%33121211
testGlobStatusWithNoMatchesInPath()720%40%33121211
testRenameDirectoryAsEmptyDirectory()700%20%22141411
testSetVerifyChecksum()690%20%22161611
testMkdirsFailsForSubdirectoryOfExistingFile()650%n/a11222211
testMkdirs()620%n/a11161611
testRenameDirectoryToNonExistentParent()620%20%22151511
testListCorruptFileBlocks()620%80%55202011
testRenameFileToNonExistentDirectory()600%20%22151511
testRenameNonExistentPath()570%20%22141411
testRenameDirectoryToItself()570%20%22141411
testRenameFileToItself()550%20%22141411
testRenameFileAsExistingDirectory()550%20%22141411
testRenameDirectoryAsFile()550%20%22141411
testRenameFileToDestinationWithParentFile()540%20%22141411
testRenameFileAsExistingFile()540%20%22121211
tearDown()500%20%22121211
testGetFileContext1()430%n/a11101011
testUnsupportedSymlink()420%20%22141411
testOpenFileRead()420%n/a11121211
testGlobStatusNonExistentFile()370%n/a11101011
testRenameFileToExistingParent()360%20%227711
testWriteInNonExistentDirectory()350%n/a117711
testOpen2()350%n/a119911
testFsStatus()340%60%446611
testFileContextStatistics()330%n/a11111111
testOpenFileApplyAsyncRead()310%n/a119911
testBuilderCreateRecursive()290%n/a118811
testCreateFlagCreateAppendExistingFile()280%n/a115511
testCreateFlagAppendExistingFile()270%n/a115511
testDeleteEmptyDirectory()270%n/a116611
testOpenFileApplyRead()270%n/a119911
static {...}270%n/a11111111
testCreateFlagOverwriteExistingFile()250%n/a115511
testBuilderCreateAppendExistingFile()250%n/a115511
testOutputStreamClosedTwice()250%n/a117711
testOpenFileUnknownOption()250%n/a118811
setUp()240%n/a115511
testBuilderCreateExistingFile()240%n/a115511
testCreateFlagCreateAppendNonExistingFile()230%n/a114411
containsPath(Path, FileStatus[])230%40%335511
rename(Path, Path, boolean, boolean, Options.Rename[])220%n/a114411
testDeleteOnExitUnexisting()220%20%225511
writeData(FileContext, Path, FSDataOutputStream, byte[], long)210%n/a115511
createFile(Path)210%n/a115511
testBuilderCreateAppendNonExistingFile()200%n/a114411
testOpenFileLazyFail()200%n/a116611
getDefaultWorkingDirectory()190%n/a113311
testCreateFlagCreateExistingFile()190%n/a115511
testBuilderCreateNonExistingFile()190%n/a114411
testRenameDirectoryAsNonExistentDirectory()190%n/a114411
testCreateFlagAppendCreateOverwrite()180%n/a114411
testCreateFlagAppendOverwrite()170%n/a114411
testDeleteNonExistentFile()170%n/a114411
testInputStreamClosedTwice()170%n/a116611
testEmptyCreateFlag()160%n/a114411
testCreateFlagOverwriteNonExistingFile()160%n/a114411
testCreateFlagAppendNonExistingFile()160%n/a114411
testNullCreateFlag()150%n/a114411
testGetFileStatusThrowsExceptionForNonExistentFile()120%n/a115511
testListStatusThrowsExceptionForNonExistentFile()120%n/a115511
testWriteReadAndDeleteOneAndAHalfBlocks()100%n/a113311
FileContextMainOperationsBaseTest()70%n/a113311
testWriteReadAndDeleteHalfABlock()60%n/a112211
testWriteReadAndDeleteTwoBlocks()60%n/a112211
getTestRootPath(FileContext, String)60%n/a111111
path(String)50%n/a111111
createFileContextHelper()40%n/a111111
testWriteReadAndDeleteEmptyFile()40%n/a112211
testWriteReadAndDeleteOneBlock()40%n/a112211
describe(String)40%n/a112211
lambda$testOpenFileApplyAsyncRead$1(AtomicBoolean, FSDataInputStream)40%n/a111111
lambda$testOpenFileUnknownOption$0(FutureDataInputStreamBuilder)30%n/a111111
renameSupported()20%n/a111111
unwrapException(IOException)20%n/a111111