public class WiretapInputStreamTest extends Object
Constructor and Description |
---|
WiretapInputStreamTest() |
Modifier and Type | Method and Description |
---|---|
void |
bytesSkippedWhenTapOffAreNotStored() |
void |
constructorArgumentDeterminesTapIsOff() |
void |
constructorArgumentDeterminesTapIsOn() |
void |
endOfStreamIsHonoured() |
void |
onlyStoresWhenTapOn() |
void |
readOneByteWhenNotTapped() |
void |
readOneByteWhenTapped() |
void |
tapNotAffectedByMarkAndReset() |
void |
tappingMayCommenceAfterMarkAndReset() |
void |
tapsSkippedBytes() |
void |
tapsSkippedBytesToEndOfStream() |
void |
underlyingIsClosed() |
@Test public void underlyingIsClosed() throws IOException
IOException
@Test public void constructorArgumentDeterminesTapIsOn() throws Exception
Exception
@Test public void constructorArgumentDeterminesTapIsOff() throws Exception
Exception
@Test public void endOfStreamIsHonoured() throws IOException
IOException
@Test public void readOneByteWhenTapped() throws IOException
IOException
@Test public void readOneByteWhenNotTapped() throws IOException
IOException
@Test public void onlyStoresWhenTapOn() throws IOException
IOException
@Test public void tapsSkippedBytes() throws IOException
IOException
@Test public void tapsSkippedBytesToEndOfStream() throws IOException
IOException
@Test public void bytesSkippedWhenTapOffAreNotStored() throws IOException
IOException
@Test public void tapNotAffectedByMarkAndReset() throws IOException
IOException
@Test public void tappingMayCommenceAfterMarkAndReset() throws IOException
IOException
Copyright © 2017–2018 earcam. All rights reserved.