|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.htmlparser.tests.ParserTestCase
org.htmlparser.tests.filterTests.FilterTest
Test the operation of filters.
Field Summary |
Fields inherited from class org.htmlparser.tests.ParserTestCase |
mLexer, node, nodeCount, parser |
Constructor Summary | |
FilterTest(java.lang.String name)
|
Method Summary | |
void |
testAnd()
Test and filtering. |
void |
testAttribute()
Test attribute filtering. |
void |
testChild()
Test child filtering. |
void |
testEscape()
|
void |
testNodeClass()
Test node class filtering. |
void |
testNot()
Test not filtering. |
void |
testOr()
Test or filtering. |
void |
testRegularExpression()
Test regular expression matching: |
void |
testSelectors()
|
void |
testString()
Test string filtering. |
void |
testTagName()
Test tag name filtering. |
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 |
public FilterTest(java.lang.String name)
Method Detail |
public void testNodeClass() throws ParserException
ParserException
public void testTagName() throws ParserException
ParserException
public void testString() throws ParserException
ParserException
public void testChild() throws ParserException
ParserException
public void testAttribute() throws ParserException
ParserException
public void testAnd() throws ParserException
ParserException
public void testOr() throws ParserException
ParserException
public void testNot() throws ParserException
ParserException
public void testEscape() throws java.lang.Exception
java.lang.Exception
public void testSelectors() throws java.lang.Exception
java.lang.Exception
public void testRegularExpression() throws java.lang.Exception
java.lang.Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |