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

Quick Search    Search Deep

org.htmlparser.tests.tagTests
Class BodyTagTest  view BodyTagTest download BodyTagTest.java

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

public class BodyTagTest
extends org.htmlparser.tests.ParserTestCase


Field Summary
private  org.htmlparser.tags.BodyTag bodyTag
           
 
Fields inherited from class org.htmlparser.tests.ParserTestCase
node, nodeCount, parser, reader
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
BodyTagTest(java.lang.String name)
           
 
Method Summary
static void main(java.lang.String[] args)
           
protected  void setUp()
          Sets up the fixture, for example, open a network connection.
static junit.framework.TestSuite suite()
           
 void testAttributes()
           
 void testToHTML()
           
 void testToPlainTextString()
           
 void testToString()
           
 
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

bodyTag

private org.htmlparser.tags.BodyTag bodyTag
Constructor Detail

BodyTagTest

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

setUp

protected void setUp()
              throws java.lang.Exception
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.


testToPlainTextString

public void testToPlainTextString()
                           throws org.htmlparser.util.ParserException

testToHTML

public void testToHTML()
                throws org.htmlparser.util.ParserException

testToString

public void testToString()
                  throws org.htmlparser.util.ParserException

testAttributes

public void testAttributes()

suite

public static junit.framework.TestSuite suite()

main

public static void main(java.lang.String[] args)