org.htmlparser.tests
Class FunctionalTests

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

public class FunctionalTests
extends ParserTestCase


Field Summary
 
Fields inherited from class org.htmlparser.tests.ParserTestCase
mLexer, node, nodeCount, parser
 
Constructor Summary
FunctionalTests(java.lang.String arg0)
           
 
Method Summary
 int countImageTagsWithHTMLParser()
           
 int countImageTagsWithoutHTMLParser(Parser parser)
           
 int findImageTagCount(Parser parser)
           
static junit.framework.TestSuite suite()
           
 void testNumImageTagsInYahooWithoutRegisteringScanners()
          Based on a suspected bug report by Annette Doyle, to check if the no of image tags are correctly identified by the parser
 
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

FunctionalTests

public FunctionalTests(java.lang.String arg0)
Method Detail

testNumImageTagsInYahooWithoutRegisteringScanners

public void testNumImageTagsInYahooWithoutRegisteringScanners()
                                                       throws ParserException
Based on a suspected bug report by Annette Doyle, to check if the no of image tags are correctly identified by the parser

Throws:
ParserException

findImageTagCount

public int findImageTagCount(Parser parser)

countImageTagsWithHTMLParser

public int countImageTagsWithHTMLParser()
                                 throws ParserException
Throws:
ParserException

countImageTagsWithoutHTMLParser

public int countImageTagsWithoutHTMLParser(Parser parser)
                                    throws java.io.IOException
Throws:
java.io.IOException

suite

public static junit.framework.TestSuite suite()