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, testFake
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, countTestCases, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, setName, toString
public 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
ParserException
public void test2() throws ParserException
ParserException
public void test3() throws ParserException
ParserException
public void test4() throws ParserException
ParserException
public void test5() throws ParserException
ParserException
public void test6() throws ParserException
ParserException
public void test7() throws ParserException
ParserException
public void test8() throws ParserException
ParserException
public void test9() throws ParserException
ParserException
public void test10() throws ParserException
ParserException
public void test11() throws ParserException
ParserException
public void test12() throws ParserException
ParserException
public void test13() throws ParserException
ParserException
public void test14() throws ParserException
ParserException
public void test15() throws ParserException
ParserException
public void test16() throws ParserException
ParserException
public void test17() throws ParserException
ParserException
public void test18() throws ParserException
ParserException
public void test19() throws ParserException
ParserException
public void test20() throws ParserException
ParserException
public void test21() throws ParserException
ParserException
public void test22() throws ParserException
ParserException
public void test23() throws ParserException
ParserException
public void test24() throws ParserException
ParserException
public void test25() throws ParserException
ParserException
public void test26() throws ParserException
ParserException
public void test27() throws ParserException
ParserException
public void test28() throws ParserException
ParserException
public void test29() throws ParserException
ParserException
public void test30() throws ParserException
ParserException
public void test31() throws ParserException
ParserException
public void test32() throws ParserException
ParserException
public void test33() throws ParserException
ParserException
public void test34() throws ParserException
ParserException
public void test35() throws ParserException
ParserException
public void test36() throws ParserException
ParserException
public void test37() throws ParserException
ParserException
public void test38() throws ParserException
ParserException
public void test39() throws ParserException
ParserException
public void test40() throws ParserException
ParserException
public void test41() throws ParserException
ParserException