public class MarkSupportedInputStreamTest extends Object
Modifier and Type | Field and Description |
---|---|
byte[] |
bytes |
Constructor and Description |
---|
MarkSupportedInputStreamTest() |
Modifier and Type | Method and Description |
---|---|
void |
ensureMarkSupportedReturnsOriginalWhenOriginalSupportsMarking() |
void |
ensureMarkSupportedWrapsWhenUnderlyingDoesNotSupportMarking() |
void |
increasingReadLimitMarksWithinReset() |
void |
markAndResetWithinLimit() |
void |
markExceedsLimit() |
void |
resetThrowsWhenNotAlreadyMarked() |
void |
whenMarkExceedsLimitThenResetThrows() |
@Test public void markAndResetWithinLimit() throws Exception
Exception
@Test public void whenMarkExceedsLimitThenResetThrows() throws Exception
Exception
@Test public void increasingReadLimitMarksWithinReset() throws Exception
Exception
@Test public void resetThrowsWhenNotAlreadyMarked()
@Test public void ensureMarkSupportedWrapsWhenUnderlyingDoesNotSupportMarking()
@Test public void ensureMarkSupportedReturnsOriginalWhenOriginalSupportsMarking()
Copyright © 2017–2018 earcam. All rights reserved.