java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.htmlparser.tests.ParserTestCase
org.htmlparser.tests.parserHelperTests.TagParserTest
- All Implemented Interfaces:
- junit.framework.Test
- public class TagParserTest
- extends org.htmlparser.tests.ParserTestCase
| Fields inherited from class junit.framework.TestCase |
|
| Methods inherited from class org.htmlparser.tests.ParserTestCase |
assertHiddenIDTagPresent, assertNodeCount, assertNodeCount, assertSameType, assertStringEquals, assertTagEquals, assertType, assertXmlEquals, createParser, createParser, createParser, createParser, parse, parseAndAssertNodeCount, parseNodes, removeEscapeCharacters |
| Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, 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 |
TEST_HTML
private static final java.lang.String TEST_HTML
- See Also:
- Constant Field Values
results
private java.util.Map results
testProgress
private int testProgress
TagParserTest
public TagParserTest(java.lang.String name)
testTagWithQuotes
public void testTagWithQuotes()
throws java.lang.Exception
testEmptyTag
public void testEmptyTag()
throws java.lang.Exception
testTagWithCloseTagSymbolInAttribute
public void testTagWithCloseTagSymbolInAttribute()
throws org.htmlparser.util.ParserException
testTagWithOpenTagSymbolInAttribute
public void testTagWithOpenTagSymbolInAttribute()
throws org.htmlparser.util.ParserException
testTagWithSingleQuote
public void testTagWithSingleQuote()
throws org.htmlparser.util.ParserException
testMultiLine1
public void testMultiLine1()
throws org.htmlparser.util.ParserException
- The following multi line test cases are from bug #725749 Parser does not
handle < and > in multi-line attributes submitted by Joe Robins (zorblak)
testMultiLine2
public void testMultiLine2()
throws org.htmlparser.util.ParserException
testMultiLine3
public void testMultiLine3()
throws org.htmlparser.util.ParserException
testMultiLine4
public void testMultiLine4()
throws org.htmlparser.util.ParserException
testMultiLine5
public void testMultiLine5()
throws org.htmlparser.util.ParserException
- Test multiline tag like attribute. See feature request #725749 Handle <
and > in multi-line attributes. Only perform this test if it's version
1.4 or higher.
testMultiLine6
public void testMultiLine6()
throws org.htmlparser.util.ParserException
- Test multiline broken tag like attribute. See feature request #725749
Handle < and > in multi-line attributes. Only perform this test if it's
version 1.4 or higher.
testMultiLine7
public void testMultiLine7()
throws org.htmlparser.util.ParserException
- Test multiline split tag like attribute. See feature request #725749
Handle < and > in multi-line attributes. Only perform this test if it's
version 1.4 or higher.
testThreadSafety
public void testThreadSafety()
throws java.lang.Exception
- Test multiple threads running against the parser. See feature request
#736144 Handle multi-threaded operation. Only perform this test if it's
version 1.4 or higher.
computeCompletionValue
private int computeCompletionValue(int numThreads)