public class PageTests extends ParserTestCase
| 限定符和类型 | 字段和说明 |
|---|---|
static java.lang.String |
DEFAULT_CHARSET
The default charset.
|
static Page |
mPage
Page for absolute URL tests.
|
| 构造器和说明 |
|---|
PageTests(java.lang.String name)
Test the third level page class.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
test1() |
void |
test10() |
void |
test11() |
void |
test12() |
void |
test13() |
void |
test14() |
void |
test15() |
void |
test16() |
void |
test17() |
void |
test18() |
void |
test19() |
void |
test2() |
void |
test20() |
void |
test21() |
void |
test22() |
void |
test23() |
void |
test24() |
void |
test25() |
void |
test26() |
void |
test27() |
void |
test28() |
void |
test29() |
void |
test3() |
void |
test30() |
void |
test31() |
void |
test32() |
void |
test33() |
void |
test34() |
void |
test35() |
void |
test36() |
void |
test37() |
void |
test38() |
void |
test39() |
void |
test4() |
void |
test40() |
void |
test41() |
void |
test5() |
void |
test6() |
void |
test7() |
void |
test8() |
void |
test9() |
void |
testBadURLConnection()
Test initialization with non-existant URL.
|
void |
testNull()
Test initialization with a null value.
|
void |
testURLConnection()
Test initialization with a real value.
|
assertNodeCount, assertSameType, assertStringEquals, assertSuperType, assertTagEquals, assertType, assertXmlEquals, failWithMessage, getParser, main, parseAndAssertNodeCount, parseNodes, removeEscapeCharacters, setParser, testFakeassertEquals, 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, countTestCases, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, setName, toStringpublic static final java.lang.String DEFAULT_CHARSET
ISO-8859-1,
see RFC 2616 (http://www.ietf.org/rfc/rfc2616.txt?number=2616) section 3.7.1
Another alias is "8859_1".public static Page mPage
public PageTests(java.lang.String name)
name - Stringpublic void testNull()
throws ParserException
ParserException - ParserExceptionpublic void testURLConnection()
throws ParserException,
java.io.IOException
ParserException - ParserExceptionjava.io.IOException - IOExceptionpublic void testBadURLConnection()
throws java.io.IOException
java.io.IOException - IOExceptionpublic void test1()
throws ParserException
ParserExceptionpublic void test2()
throws ParserException
ParserExceptionpublic void test3()
throws ParserException
ParserExceptionpublic void test4()
throws ParserException
ParserExceptionpublic void test5()
throws ParserException
ParserExceptionpublic void test6()
throws ParserException
ParserExceptionpublic void test7()
throws ParserException
ParserExceptionpublic void test8()
throws ParserException
ParserExceptionpublic void test9()
throws ParserException
ParserExceptionpublic void test10()
throws ParserException
ParserExceptionpublic void test11()
throws ParserException
ParserExceptionpublic void test12()
throws ParserException
ParserExceptionpublic void test13()
throws ParserException
ParserExceptionpublic void test14()
throws ParserException
ParserExceptionpublic void test15()
throws ParserException
ParserExceptionpublic void test16()
throws ParserException
ParserExceptionpublic void test17()
throws ParserException
ParserExceptionpublic void test18()
throws ParserException
ParserExceptionpublic void test19()
throws ParserException
ParserExceptionpublic void test20()
throws ParserException
ParserExceptionpublic void test21()
throws ParserException
ParserExceptionpublic void test22()
throws ParserException
ParserExceptionpublic void test23()
throws ParserException
ParserExceptionpublic void test24()
throws ParserException
ParserExceptionpublic void test25()
throws ParserException
ParserExceptionpublic void test26()
throws ParserException
ParserExceptionpublic void test27()
throws ParserException
ParserExceptionpublic void test28()
throws ParserException
ParserExceptionpublic void test29()
throws ParserException
ParserExceptionpublic void test30()
throws ParserException
ParserExceptionpublic void test31()
throws ParserException
ParserExceptionpublic void test32()
throws ParserException
ParserExceptionpublic void test33()
throws ParserException
ParserExceptionpublic void test34()
throws ParserException
ParserExceptionpublic void test35()
throws ParserException
ParserExceptionpublic void test36()
throws ParserException
ParserExceptionpublic void test37()
throws ParserException
ParserExceptionpublic void test38()
throws ParserException
ParserExceptionpublic void test39()
throws ParserException
ParserExceptionpublic void test40()
throws ParserException
ParserExceptionpublic void test41()
throws ParserException
ParserException