|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.apache.commons.io.input.NullInputStreamTest
public class NullInputStreamTest
JUnit Test Case for NullInputStream.
| Constructor Summary | |
|---|---|
NullInputStreamTest(java.lang.String name)
Constructor |
|
| Method Summary | |
|---|---|
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 |
testReadByteArray()
Test read(byte[]) method. |
void |
testSkip()
Test skip() method. |
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString |
| Methods inherited from class junit.framework.Assert |
|---|
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, fail, fail |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public NullInputStreamTest(java.lang.String name)
| Method Detail |
|---|
protected void setUp()
throws java.lang.Exception
setUp in class junit.framework.TestCasejava.lang.Exception
protected void tearDown()
throws java.lang.Exception
tearDown in class junit.framework.TestCasejava.lang.Exception
public void testRead()
throws java.lang.Exception
available() method.
java.lang.Exception
public void testReadByteArray()
throws java.lang.Exception
read(byte[]) method.
java.lang.Exception
public void testEOFException()
throws java.lang.Exception
java.lang.Exception
public void testMarkAndReset()
throws java.lang.Exception
mark() and reset() methods.
java.lang.Exception
public void testMarkNotSupported()
throws java.lang.Exception
mark() not supported.
java.lang.Exception
public void testSkip()
throws java.lang.Exception
skip() method.
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||