org.htmlparser.tests.visitorsTests
Class StringFindingVisitorTest

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

public class StringFindingVisitorTest
extends ParserTestCase


Field Summary
 
Fields inherited from class org.htmlparser.tests.ParserTestCase
mLexer, node, nodeCount, parser
 
Constructor Summary
StringFindingVisitorTest(java.lang.String name)
           
 
Method Summary
 void testSimpleStringFind()
           
 void testStringFoundCount()
           
 void testStringFoundInSingleStringNode()
           
 void testStringFoundMultipleTimes()
           
 void testStringInTagNotFound()
           
 void testStringNotFound()
           
 
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

StringFindingVisitorTest

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

testSimpleStringFind

public void testSimpleStringFind()
                          throws java.lang.Exception
Throws:
java.lang.Exception

testStringNotFound

public void testStringNotFound()
                        throws java.lang.Exception
Throws:
java.lang.Exception

testStringInTagNotFound

public void testStringInTagNotFound()
                             throws java.lang.Exception
Throws:
java.lang.Exception

testStringFoundInSingleStringNode

public void testStringFoundInSingleStringNode()
                                       throws java.lang.Exception
Throws:
java.lang.Exception

testStringFoundCount

public void testStringFoundCount()
                          throws java.lang.Exception
Throws:
java.lang.Exception

testStringFoundMultipleTimes

public void testStringFoundMultipleTimes()
                                  throws java.lang.Exception
Throws:
java.lang.Exception