public class ByteBufferInputStreamTest extends Object
Constructor and Description |
---|
ByteBufferInputStreamTest() |
Modifier and Type | Method and Description |
---|---|
void |
bufferIsReadWithoutOriginalPositionChanging() |
void |
markIsSupported() |
void |
markSupported() |
void |
readPastEndReturnsMinusOne() |
void |
readReturnBytesRead() |
void |
readsPastEndReturnsMinusOne() |
void |
skips() |
void |
whenDuplicatedThenBufferPositionDoesNotMoveWithStream() |
void |
whenNotDuplicatedThenBufferPositionMovesWithStream() |
void |
whenSkipIsZeroThenZeroSkipped() |
void |
whenSkipLessThanZeroThenZeroSkipped() |
@Test public void bufferIsReadWithoutOriginalPositionChanging()
@Test public void markIsSupported()
@Test public void markSupported()
@Test public void whenDuplicatedThenBufferPositionDoesNotMoveWithStream()
@Test public void whenNotDuplicatedThenBufferPositionMovesWithStream()
@Test public void skips()
@Test public void whenSkipIsZeroThenZeroSkipped()
@Test public void whenSkipLessThanZeroThenZeroSkipped()
@Test public void readPastEndReturnsMinusOne()
@Test public void readsPastEndReturnsMinusOne()
@Test public void readReturnBytesRead()
Copyright © 2017–2018 earcam. All rights reserved.