FileContextMainOperationsBaseTest

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total4,014 of 4,0140%118 of 1180%1581588628629999
testListStatus()2100%80%55353511
testWorkingDirectory()1850%n/a11404011
testListFiles()1690%80%55212111
testGlobStatusWithMultipleWildCardMatches()1030%40%33161611
testGlobStatusFilterWithSomePathMatchesAndTrivialFilter()960%40%33151511
testGlobStatusFilterWithMultipleWildCardMatchesAndTrivialFilter()960%40%33151511
writeReadAndDelete(int)960%20%22191911
testListStatusFilterWithSomeMatches()880%40%33141411
testGlobStatusFilterWithMultiplePathMatchesAndNonTrivialFilter()880%40%33141411
testGlobStatusFilterWithMultiplePathWildcardsAndNonTrivialFilter()880%40%33141411
testGlobStatusSomeMatchesInDirectories()870%40%33141411
testGlobStatusWithMultipleMatchesOfSingleChar()870%40%33141411
testDeleteRecursively()850%n/a11202011
testRenameDirectoryAsNonEmptyDirectory()820%20%22181811
testRenameDirectoryAsNonExistentDirectory(Options.Rename[])770%20%22131311
testListStatusFilterWithNoMatches()720%40%33121211
testGlobStatusFilterWithEmptyPathResults()720%40%33121211
testGlobStatusFilterWithNoMatchingPathsAndNonTrivialFilter()720%40%33121211
testGlobStatusWithNoMatchesInPath()710%40%33121211
testRenameDirectoryAsEmptyDirectory()710%20%22141411
testSetVerifyChecksum()690%20%22161611
testMkdirsFailsForSubdirectoryOfExistingFile()670%n/a11222211
testRenameDirectoryToNonExistentParent()640%20%22151511
testMkdirs()620%n/a11161611
testRenameFileToNonExistentDirectory()620%20%22151511
testRenameNonExistentPath()590%20%22141411
testRenameDirectoryToItself()590%20%22141411
testListCorruptFileBlocks()590%80%55202011
testRenameFileToItself()570%20%22141411
testRenameFileAsExistingDirectory()570%20%22141411
testRenameDirectoryAsFile()570%20%22141411
testRenameFileToDestinationWithParentFile()560%20%22141411
testRenameFileAsExistingFile()550%20%22121211
testUnsupportedSymlink()440%20%22141411
testGetFileContext1()430%n/a11101011
testOpenFileRead()420%n/a11121211
tearDown()380%20%22121211
testRenameFileToExistingParent()360%20%227711
testGlobStatusNonExistentFile()350%n/a11101011
testWriteInNonExistentDirectory()350%n/a117711
testOpen2()350%n/a119911
testFsStatus()340%60%446611
testFileContextStatistics()330%n/a11111111
testOpenFileApplyAsyncRead()310%n/a118811
testBuilderCreateRecursive()300%n/a118811
testCreateFlagCreateAppendExistingFile()280%n/a115511
testCreateFlagAppendExistingFile()270%n/a115511
testDeleteEmptyDirectory()270%n/a116611
testOpenFileApplyRead()270%n/a118811
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
lambda$testCreateFlagCreateExistingFile$2()200%n/a115511
testBuilderCreateNonExistingFile()190%n/a114411
testRenameDirectoryAsNonExistentDirectory()190%n/a114411
lambda$testCreateFlagAppendCreateOverwrite$6()190%n/a114411
lambda$testCreateFlagAppendOverwrite$5()180%n/a114411
testDeleteNonExistentFile()170%n/a114411
testInputStreamClosedTwice()170%n/a116611
lambda$testCreateFlagAppendNonExistingFile$4()170%n/a114411
lambda$testCreateFlagOverwriteNonExistingFile$3()170%n/a114411
lambda$testEmptyCreateFlag$1()170%n/a114411
lambda$testNullCreateFlag$0()160%n/a114411
getDefaultWorkingDirectory()130%n/a113311
testGetFileStatusThrowsExceptionForNonExistentFile()130%n/a115511
testListStatusThrowsExceptionForNonExistentFile()130%n/a115511
testWriteReadAndDeleteOneAndAHalfBlocks()100%n/a113311
FileContextMainOperationsBaseTest()70%n/a113311
testWriteReadAndDeleteHalfABlock()60%n/a112211
testWriteReadAndDeleteTwoBlocks()60%n/a112211
testNullCreateFlag()60%n/a112211
testEmptyCreateFlag()60%n/a112211
testCreateFlagCreateExistingFile()60%n/a112211
testCreateFlagOverwriteNonExistingFile()60%n/a112211
testCreateFlagAppendNonExistingFile()60%n/a112211
testCreateFlagAppendOverwrite()60%n/a112211
testCreateFlagAppendCreateOverwrite()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$8(AtomicBoolean, FSDataInputStream)40%n/a111111
lambda$testOpenFileUnknownOption$7(FutureDataInputStreamBuilder)30%n/a111111
renameSupported()20%n/a111111
unwrapException(IOException)20%n/a111111