Summary
[Summary] [Package List] [Test Cases]
Tests |
Errors |
Failures |
Skipped |
Success Rate |
Time |
91 |
0 |
0 |
0 |
100% |
0.215 |
Note: failures are anticipated and checked for with assertions while errors are unanticipated.
Test Cases
[Summary] [Package List] [Test Cases]
|
endOfStreamIsHonoured |
0.013 |
|
readOneByteWhenNotTapped |
0.001 |
|
constructorArgumentDeterminesTapIsOn |
0 |
|
readOneByteWhenTapped |
0.001 |
|
tapsSkippedBytesToEndOfStream |
0.001 |
|
tappingMayCommenceAfterMarkAndReset |
0.001 |
|
tapsSkippedBytes |
0 |
|
bytesSkippedWhenTapOffAreNotStored |
0 |
|
constructorArgumentDeterminesTapIsOff |
0 |
|
onlyStoresWhenTapOn |
0.001 |
|
tapNotAffectedByMarkAndReset |
0 |
|
underlyingIsClosed |
0.001 |
RecursivePathIteratorTest
|
readReturnBytesRead |
0 |
|
whenSkipLessThanZeroThenZeroSkipped |
0 |
|
whenDuplicatedThenBufferPositionDoesNotMoveWithStream |
0 |
|
markIsSupported |
0 |
|
readsPastEndReturnsMinusOne |
0 |
|
whenNotDuplicatedThenBufferPositionMovesWithStream |
0 |
|
skips |
0.001 |
|
bufferIsReadWithoutOriginalPositionChanging |
0 |
|
readPastEndReturnsMinusOne |
0.001 |
|
markSupported |
0 |
|
whenSkipIsZeroThenZeroSkipped |
0 |
|
jarInputStreamFromJarFile |
0.005 |
|
explodedFromFilesystemWithoutManifest |
0.019 |
|
disgustingTest |
0.034 |
|
explodedJarThrowsWhenPathIsNotADirectory |
0 |
|
explodedJarEntrySingleReadMethodIsEffectivelyUseless |
0.001 |
|
failsAsNormalInputStream |
0 |
|
failsAsNormalInputStreamWithNothingAvailable |
0 |
|
availableCanBeInvokedOnTheEntries |
0.004 |
|
markAndResetWithinLimit |
0 |
|
ensureMarkSupportedWrapsWhenUnderlyingDoesNotSupportMarking |
0 |
|
markExceedsLimit |
0.001 |
|
whenMarkExceedsLimitThenResetThrows |
0 |
|
ensureMarkSupportedReturnsOriginalWhenOriginalSupportsMarking |
0.001 |
|
increasingReadLimitMarksWithinReset |
0 |
|
resetThrowsWhenNotAlreadyMarked |
0 |
|
callingResetSetsCountToZero |
0.001 |
|
countCorrectWhenMarkedThenMarkReset |
0 |
|
endOfStreamIsHonoured |
0 |
|
afterThreeCallsToReadTheCountIsThree |
0 |
|
countCorrectWhenMarkedThenMarkResetAndCountReset |
0.001 |
|
byteArrayPopulatedByReadIsEqualToThatFromDelegate |
0 |
|
requireThatWrappedInputStreamIsNotNull |
0.001 |
|
afterReadingOneByteThenCountIsOne |
0 |
|
byteReturnedFromReadIsEqualToThatFromDelegate |
0 |
|
markSupported |
0 |
|
whenUninitializedThenTheCountIsZero |
0 |
|
underlyingIsClosed |
0 |
|
replaceSingleOccurrenceAtStart |
0.001 |
|
mutlipleOccurrencesWithShorterReplacementThanSearch |
0 |
|
falseStartNoOccurrences |
0 |
|
deleteMutlipleOccurrences |
0 |
|
replaceSingleOccurrence |
0.001 |
|
replaceMutlipleOccurrences |
0.001 |
|
replaceSingleOccurrenceAtEnd |
0.001 |
SplittableOutputStreamTest
|
cannotWriteByteUnlessStarted |
0.001 |
|
maxSizeCannotBeNegative |
0.001 |
|
contentWithOneRecordAndSpaceTo |
0.001 |
|
sizeOfHeadPlusFootCannotExceedMaxSize |
0 |
|
contentWithOneRecordFitsMaxSizeExactly |
0 |
|
maxRecordsCannotBeNegative |
0 |
|
whenNoRecordsAreWrittenThenSupplierIsNeverCalled |
0.001 |
|
exampleTwoExactSplits |
0.004 |
|
regressionEnsureLastRecordWritten |
0.001 |
|
maxRecordsCannotBeZero |
0.001 |
|
exampleThreeUnevenSplits |
0.001 |
|
contentWithTwoRecordsFitsMaxSizeExactly |
0.001 |
|
contentWithTwoRecordsFitsMaxSizeExactlyIsSplitWhenMaxRecordsCountIsOne |
0.001 |
|
maxSizeCannotBeZero |
0.002 |
|
invokingStartWhenAlreadyStartedThrowsIllegalState |
0.002 |
|
cannotWriteByteArrayUnlessStarted |
0.001 |
|
whenRecordSizePlusHeadAndFootExceedsMaxSizeThenThrowsBufferOverflow |
0.001 |
|
givenRecordPartWrittenWhenClosedThenThrowsUnderflow |
0.001 |
|
invokingEndWhenNotStartedThrowsIllegalState |
0 |
|
exampleSingleExactSplit |
0.001 |
FilteratorTest
|
callingNextOnSingleElementIteratorWithoutCheckingHasNext |
0 |
|
doesNotHaveNextWhenWrappedIteratorIsEmpty |
0.001 |
|
doesNotHaveNextWhenWrappedIteratorOnlyContainsExclude |
0.001 |
|
excludeSingleValue |
0.004 |
|
repeatedCallsToHasNextDoesNotMoveIterator |
0 |
|
callingNextOnEmptyIteratorThrows |
0 |
IoStreamsTest
|
writeErrorRethrownAsUnchecked |
0.001 |
|
readErrorRethrownAsUnchecked |
0 |
|
transfer |
0 |
ReplaceAllOutputStreamTest
|
mutlipleOccurrencesWithShorterReplacementThanSearch |
0.002 |
|
replaceSingleOccurrence |
0 |
|
whenClosedThenClosesUnderlying |
0 |
|
replaceConsecutiveOccurrences |
0.001 |