| should support available() |
testAvailable() |
1 |
0 |
0 |
0.002s |
100% |
| should return a non-zero available() when marked bytes are available |
testAvailableMarked() |
1 |
0 |
0 |
0.002s |
100% |
| ensurePeekable should be a no-op if the stream already reports markSupported() |
testEnsurePeekableForMarkSupported() |
1 |
0 |
0 |
0.002s |
100% |
| should return true for isMarked between mark(int) and reset() |
testIsMarked() |
1 |
0 |
0 |
0.002s |
100% |
| should return false for isMarked by default |
testIsNotMarkedByDefault() |
1 |
0 |
0 |
0.001s |
100% |
| calling mark() after close() should appear to be a no-op |
testMarkAfterCloseIsNoOp() |
1 |
0 |
0 |
0.003s |
100% |
| should indicate support for mark(int) when wrapping a stream that doesn't support it |
testMarkAvailable() |
1 |
0 |
0 |
0.002s |
100% |
| should ignore marked bytes that exceed the mark limit |
testMarkLimit() |
1 |
0 |
0 |
0.003s |
100% |
| should work the same as an un-peekable stream when mark(int) is not called |
testNormalRead() |
1 |
0 |
0 |
0.006s |
100% |
| calling read() after close() should throw |
testReadAfterCloseThrows() |
1 |
0 |
0 |
0.002s |
100% |
| should be able to replay marked bytes |
testReplay() |
1 |
0 |
0 |
0.003s |
100% |
| calling reset() without mark(int) should be a no-op |
testResetWithoutMark() |
1 |
0 |
0 |
0.003s |
100% |
| should correctly handle sequential calls to mark(int) and reset() |
testSequentialMarkAndResetCalls() |
1 |
0 |
0 |
0.004s |
100% |