org.htmlparser.tests.lexerTests
Class PageTests
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.htmlparser.tests.ParserTestCase
org.htmlparser.tests.lexerTests.PageTests
- All Implemented Interfaces:
- junit.framework.Test
- public class PageTests
- extends ParserTestCase
Field Summary |
static java.lang.String |
DEFAULT_CHARSET
The default charset. |
static Page |
mPage
Page for absolute URL tests. |
Constructor Summary |
PageTests(java.lang.String name)
Test the third level page class. |
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 |
DEFAULT_CHARSET
public static final java.lang.String DEFAULT_CHARSET
- The default charset.
This should be
ISO-8859-1
,
see RFC 2616 (http://www.ietf.org/rfc/rfc2616.txt?number=2616) section 3.7.1
Another alias is "8859_1".
- See Also:
- Constant Field Values
mPage
public static Page mPage
- Page for absolute URL tests.
PageTests
public PageTests(java.lang.String name)
- Test the third level page class.
testNull
public void testNull()
throws ParserException
- Test initialization with a null value.
- Throws:
ParserException
testURLConnection
public void testURLConnection()
throws ParserException,
java.io.IOException
- Test initialization with a real value.
- Throws:
ParserException
java.io.IOException
testBadURLConnection
public void testBadURLConnection()
throws java.io.IOException
- Test initialization with non-existant URL.
- Throws:
java.io.IOException
test1
public void test1()
throws ParserException
- Throws:
ParserException
test2
public void test2()
throws ParserException
- Throws:
ParserException
test3
public void test3()
throws ParserException
- Throws:
ParserException
test4
public void test4()
throws ParserException
- Throws:
ParserException
test5
public void test5()
throws ParserException
- Throws:
ParserException
test6
public void test6()
throws ParserException
- Throws:
ParserException
test7
public void test7()
throws ParserException
- Throws:
ParserException
test8
public void test8()
throws ParserException
- Throws:
ParserException
test9
public void test9()
throws ParserException
- Throws:
ParserException
test10
public void test10()
throws ParserException
- Throws:
ParserException
test11
public void test11()
throws ParserException
- Throws:
ParserException
test12
public void test12()
throws ParserException
- Throws:
ParserException
test13
public void test13()
throws ParserException
- Throws:
ParserException
test14
public void test14()
throws ParserException
- Throws:
ParserException
test15
public void test15()
throws ParserException
- Throws:
ParserException
test16
public void test16()
throws ParserException
- Throws:
ParserException
test17
public void test17()
throws ParserException
- Throws:
ParserException
test18
public void test18()
throws ParserException
- Throws:
ParserException
test19
public void test19()
throws ParserException
- Throws:
ParserException
test20
public void test20()
throws ParserException
- Throws:
ParserException
test21
public void test21()
throws ParserException
- Throws:
ParserException
test22
public void test22()
throws ParserException
- Throws:
ParserException
test23
public void test23()
throws ParserException
- Throws:
ParserException
test24
public void test24()
throws ParserException
- Throws:
ParserException
test25
public void test25()
throws ParserException
- Throws:
ParserException
test26
public void test26()
throws ParserException
- Throws:
ParserException
test27
public void test27()
throws ParserException
- Throws:
ParserException
test28
public void test28()
throws ParserException
- Throws:
ParserException
test29
public void test29()
throws ParserException
- Throws:
ParserException
test30
public void test30()
throws ParserException
- Throws:
ParserException
test31
public void test31()
throws ParserException
- Throws:
ParserException
test32
public void test32()
throws ParserException
- Throws:
ParserException
test33
public void test33()
throws ParserException
- Throws:
ParserException
test34
public void test34()
throws ParserException
- Throws:
ParserException
test35
public void test35()
throws ParserException
- Throws:
ParserException
test36
public void test36()
throws ParserException
- Throws:
ParserException
test37
public void test37()
throws ParserException
- Throws:
ParserException
test38
public void test38()
throws ParserException
- Throws:
ParserException
test39
public void test39()
throws ParserException
- Throws:
ParserException
test40
public void test40()
throws ParserException
- Throws:
ParserException
test41
public void test41()
throws ParserException
- Throws:
ParserException