Package com.guinetik.rr.util
Class StreamUtilsTest
- java.lang.Object
-
- com.guinetik.rr.util.StreamUtilsTest
-
public class StreamUtilsTest extends Object
Unit tests forStreamUtils.
-
-
Constructor Summary
Constructors Constructor Description StreamUtilsTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidtestReadErrorStream()voidtestReadErrorStreamWithEmpty()voidtestReadErrorStreamWithNull()voidtestReadInputStreamAsString()voidtestReadInputStreamAsStringWithEmptyStream()voidtestReadInputStreamAsStringWithJson()voidtestReadInputStreamAsStringWithLargeContent()voidtestReadInputStreamAsStringWithMultiline()voidtestReadInputStreamAsStringWithNull()voidtestReadInputStreamAsStringWithUnicode()
-
-
-
Method Detail
-
testReadInputStreamAsString
public void testReadInputStreamAsString() throws IOException- Throws:
IOException
-
testReadInputStreamAsStringWithMultiline
public void testReadInputStreamAsStringWithMultiline() throws IOException- Throws:
IOException
-
testReadInputStreamAsStringWithUnicode
public void testReadInputStreamAsStringWithUnicode() throws IOException- Throws:
IOException
-
testReadInputStreamAsStringWithEmptyStream
public void testReadInputStreamAsStringWithEmptyStream() throws IOException- Throws:
IOException
-
testReadInputStreamAsStringWithNull
public void testReadInputStreamAsStringWithNull() throws IOException- Throws:
IOException
-
testReadErrorStream
public void testReadErrorStream()
-
testReadErrorStreamWithNull
public void testReadErrorStreamWithNull()
-
testReadErrorStreamWithEmpty
public void testReadErrorStreamWithEmpty()
-
testReadInputStreamAsStringWithLargeContent
public void testReadInputStreamAsStringWithLargeContent() throws IOException- Throws:
IOException
-
testReadInputStreamAsStringWithJson
public void testReadInputStreamAsStringWithJson() throws IOException- Throws:
IOException
-
-