org.htmlparser.tests.tagTests
Class StyleTagTest

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

public class StyleTagTest
extends ParserTestCase


Field Summary
 
Fields inherited from class org.htmlparser.tests.ParserTestCase
mLexer, node, nodeCount, parser
 
Constructor Summary
StyleTagTest(java.lang.String name)
           
 
Method Summary
 void testScan()
           
 void testScanBug()
           
 void testScanBug2()
          This is a bug reported by Kaarle Kaaila.
 void testScanBug3()
          This is a bug reported by Dr.
 void testStyleChildren()
          See bug #900125 Style Tag Children not grouped
 void testToHTML()
           
 void testToHtmlAttributes()
          Reproducing a bug reported by Dhaval Udani relating to style tag attributes being missed
 
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

StyleTagTest

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

testToHTML

public void testToHTML()
                throws ParserException
Throws:
ParserException

testToHtmlAttributes

public void testToHtmlAttributes()
                          throws ParserException
Reproducing a bug reported by Dhaval Udani relating to style tag attributes being missed

Throws:
ParserException

testScan

public void testScan()
              throws ParserException
Throws:
ParserException

testScanBug

public void testScanBug()
                 throws ParserException
Throws:
ParserException

testScanBug2

public void testScanBug2()
                  throws ParserException
This is a bug reported by Kaarle Kaaila.

Throws:
ParserException

testScanBug3

public void testScanBug3()
                  throws ParserException
This is a bug reported by Dr. Wes Munsil, with the parser crashing on Google

Throws:
ParserException

testStyleChildren

public void testStyleChildren()
                       throws ParserException
See bug #900125 Style Tag Children not grouped

Throws:
ParserException