LockedFileTest

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total447 of 4470%2 of 20%17171221221616
constructor_givenNonExistentFile_shouldCreateANewFile()480%20%229911
writeStamp_givenNewerTimestampedFile_writeNegativeTimestamp_shouldThrowException()470%n/a11141411
writeStamp_givenTimestampedFile_withLowerValue_shouldOverrideValue()450%n/a11131311
writeStamp_givenTimestampedFile_writeSameTimestamp_shouldLeaveFileAlone()430%n/a11131311
readStamp_givenGibberishFile_shouldReturnREADERROR()400%n/a119911
readStamp_givenTimestampedFile_shouldReturnValueInside()330%n/a119911
writeStamp_givenNegativeTimestamps_shouldThrowIOException()330%n/a119911
constructor_canOnlyTakeAFile_shouldThrowFileNotFoundException()310%n/a119911
readStamp_givenOverflowedDigitFile_shouldReturnREADERROR()310%n/a118811
readStamp_givenMaxLongFile_shouldReturnLargeTimestamp()310%n/a118811
constructor_givenEmptyFile_shouldLeaveFileAsIs()240%n/a116611
readStamp_givenEmptyFile_shouldReturnREADERROR()210%n/a115511
constructor_givenNull_shouldThrowNullPointerException()110%n/a115511
LockedFileTest()30%n/a111111
setUp()30%n/a112211
tearDown()30%n/a112211