org.htmlparser.tests.tagTests
Class TableTagTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.htmlparser.tests.ParserTestCase
              extended byorg.htmlparser.tests.tagTests.TableTagTest
All Implemented Interfaces:
junit.framework.Test

public class TableTagTest
extends ParserTestCase


Field Summary
 
Fields inherited from class org.htmlparser.tests.ParserTestCase
mLexer, node, nodeCount, parser
 
Constructor Summary
TableTagTest(java.lang.String name)
           
 
Method Summary
 void testErroneousTables()
           
 void testOverFlow()
          See bug #750117 StackOverFlow while Node-Iteration Not reproducible.
 void testRecursionDepth()
          Test many unclosed tags (causes heavy recursion).
 void testScan()
           
 void testUnClosed1()
          See bug #742254 Nested & tags should not be allowed
 void testUnClosed2()
          See bug #742254 Nested & tags should not be allowed
 void testUnClosed3()
          See bug #742254 Nested & tags should not be allowed
 
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

TableTagTest

public TableTagTest(java.lang.String name)
Method Detail

testScan

public void testScan()
              throws ParserException
Throws:
ParserException

testErroneousTables

public void testErroneousTables()
                         throws ParserException
Throws:
ParserException

testRecursionDepth

public void testRecursionDepth()
                        throws ParserException
Test many unclosed tags (causes heavy recursion). See feature request #729259 Increase maximum recursion depth. Only perform this test if it's version 1.4 or higher.

Throws:
ParserException

testUnClosed1

public void testUnClosed1()
                   throws ParserException
See bug #742254 Nested & tags should not be allowed

Throws:
ParserException

testUnClosed2

public void testUnClosed2()
                   throws ParserException
See bug #742254 Nested & tags should not be allowed

Throws:
ParserException

testUnClosed3

public void testUnClosed3()
                   throws ParserException
See bug #742254 Nested & tags should not be allowed

Throws:
ParserException

testOverFlow

public void testOverFlow()
                  throws ParserException
See bug #750117 StackOverFlow while Node-Iteration Not reproducible.

Throws:
ParserException