Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.htmlparser.tests.utilTests
Class HTMLTagParserTest  view HTMLTagParserTest download HTMLTagParserTest.java

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

public class HTMLTagParserTest
extends org.htmlparser.tests.ParserTestCase


Field Summary
private  org.htmlparser.parserHelper.TagParser tagParser
           
 
Fields inherited from class org.htmlparser.tests.ParserTestCase
node, nodeCount, parser, reader
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
HTMLTagParserTest(java.lang.String name)
           
 
Method Summary
protected  void setUp()
          Sets up the fixture, for example, open a network connection.
 void testCorrectTag()
           
 void testInsertInvertedCommasCorrectly()
           
 void testPruneSpaces()
           
 
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, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

tagParser

private org.htmlparser.parserHelper.TagParser tagParser
Constructor Detail

HTMLTagParserTest

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

testCorrectTag

public void testCorrectTag()

testInsertInvertedCommasCorrectly

public void testInsertInvertedCommasCorrectly()

testPruneSpaces

public void testPruneSpaces()

setUp

protected void setUp()
Description copied from class: junit.framework.TestCase
Sets up the fixture, for example, open a network connection. This method is called before a test is executed.