|
|||||||||||
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.htmlparser.tests.ParserTestCase
org.htmlparser.tests.lexerTests.StreamTests
Field Summary |
Fields inherited from class org.htmlparser.tests.ParserTestCase |
mLexer, node, nodeCount, parser |
Constructor Summary | |
StreamTests(java.lang.String name)
Test the first level stream class. |
Method Summary | |
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()
Test that threading works and is faster than a naked input stream. |
Methods inherited from class org.htmlparser.tests.ParserTestCase |
assertHiddenIDTagPresent, assertNodeCount, assertNodeCount, assertSameType, assertStringEquals, assertSuperType, assertTagEquals, assertType, assertXmlEquals, createParser, createParser, createParser, createParser, failWithMessage, getParser, main, parse, parseAndAssertNodeCount, parseNodes, removeEscapeCharacters, setParser |
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, name, run, run, runBare, runTest, setName, setUp, tearDown, toString |
Methods inherited from class junit.framework.Assert |
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, 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 StreamTests(java.lang.String name)
Method Detail |
public void testNull() throws java.io.IOException
java.io.IOException
public void testEmpty() throws java.io.IOException
java.io.IOException
public void testOneByte() throws java.io.IOException
java.io.IOException
public void testSameBytes() throws java.io.IOException
java.io.IOException
public void testThreaded() throws java.io.IOException
java.io.IOException
public void testMarkReset() throws java.io.IOException
java.io.IOException
public void testMarkResetThreaded() throws java.io.IOException
java.io.IOException
public void testClose() throws java.io.IOException
java.io.IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |