public class AutoCloseInputStreamTest extends junit.framework.TestCase
AutoCloseInputStream.| Constructor and Description |
|---|
AutoCloseInputStreamTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
setUp() |
void |
testClose()
Test the
close() method. |
void |
testRead()
Test the
read() method. |
void |
testReadBuffer()
Test the
read(b) method. |
void |
testReadBufferOffsetLength()
Test the
read(b, off, len) method. |
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, tearDown, toStringpublic AutoCloseInputStreamTest()
protected void setUp()
setUp in class junit.framework.TestCasepublic void testClose() throws IOException
close() method.IOExceptionpublic void testRead() throws IOException
read() method.IOExceptionpublic void testReadBuffer() throws IOException
read(b) method.IOExceptionpublic void testReadBufferOffsetLength() throws IOException
read(b, off, len) method.IOExceptionCopyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.