Package gov.nasa.pds.label.io
Class LengthLimitedInputStreamTest
- java.lang.Object
-
- gov.nasa.pds.label.io.LengthLimitedInputStreamTest
-
public class LengthLimitedInputStreamTest extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description LengthLimitedInputStreamTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
init()
void
testReadByBytes()
void
testReadEntireStream()
void
testSkip()
void
testStreamEndsEarly()
void
testStreamEndsEarlyByBytes()
-
-
-
Method Detail
-
init
@BeforeMethod public void init()
-
testReadEntireStream
public void testReadEntireStream() throws java.io.IOException
- Throws:
java.io.IOException
-
testReadByBytes
public void testReadByBytes() throws java.io.IOException
- Throws:
java.io.IOException
-
testSkip
public void testSkip() throws java.io.IOException
- Throws:
java.io.IOException
-
testStreamEndsEarly
public void testStreamEndsEarly() throws java.io.IOException
- Throws:
java.io.IOException
-
testStreamEndsEarlyByBytes
public void testStreamEndsEarlyByBytes() throws java.io.IOException
- Throws:
java.io.IOException
-
-