public class NullReaderTest extends junit.framework.TestCase
NullReader.| Constructor and Description |
|---|
NullReaderTest(String name)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
setUp()
Set up
|
protected void |
tearDown()
Tear Down
|
void |
testEOFException()
Test when configured to throw an EOFException at the end of file
(rather than return -1).
|
void |
testMarkAndReset()
Test
mark() and reset() methods. |
void |
testMarkNotSupported()
Test
mark() not supported. |
void |
testRead()
Test
available() method. |
void |
testReadCharArray()
Test
read(char[]) method. |
void |
testSkip()
Test
skip() 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, toStringpublic NullReaderTest(String name)
protected void setUp() throws Exception
setUp in class junit.framework.TestCaseExceptionprotected void tearDown() throws Exception
tearDown in class junit.framework.TestCaseExceptionpublic void testReadCharArray() throws Exception
read(char[]) method.Exceptionpublic void testEOFException() throws Exception
Exceptionpublic void testMarkAndReset() throws Exception
mark() and reset() methods.Exceptionpublic void testMarkNotSupported() throws Exception
mark() not supported.ExceptionCopyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.