public class StreamTests extends ParserTestCase
构造器和说明 |
---|
StreamTests(java.lang.String name) |
限定符和类型 | 方法和说明 |
---|---|
void |
testClose()
Test close.
|
void |
testEmpty()
Test initialization with an empty input stream.
|
void |
testMarkReset()
Test that mark and reset work as per the contract.
|
void |
testMarkResetThreaded()
Test that mark and reset work as per the contract when threaded.
|
void |
testNull()
Test initialization with a null value.
|
void |
testOneByte()
Test initialization with an input stream having only one byte.
|
void |
testSameBytes()
Test that the same bytes are returned as with a naked input stream.
|
void |
testThreaded() |
assertNodeCount, assertSameType, assertStringEquals, assertSuperType, assertTagEquals, assertType, assertXmlEquals, failWithMessage, getParser, main, parseAndAssertNodeCount, parseNodes, removeEscapeCharacters, setParser, testFake
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, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, setName, toString
public void testNull() throws java.io.IOException
java.io.IOException
- IOExceptionpublic void testEmpty() throws java.io.IOException
java.io.IOException
- IOExceptionpublic void testOneByte() throws java.io.IOException
java.io.IOException
- IOExceptionpublic void testSameBytes() throws java.io.IOException
java.io.IOException
- IOExceptionpublic void testThreaded() throws java.io.IOException
java.io.IOException
public void testMarkReset() throws java.io.IOException
java.io.IOException
- IOExceptionpublic void testMarkResetThreaded() throws java.io.IOException
java.io.IOException
- IOExceptionpublic void testClose() throws java.io.IOException
java.io.IOException
- IOException