Public Methods | |
| documentgetdoctype (DOMTestDocumentBuilderFactory factory) | |
| void | runTest () throws java.lang.Throwable |
| String | getTargetURI () |
Static Public Methods | |
| void | main (String[] args) |
Definition at line 45 of file documentgetdoctype.java.
|
|
Definition at line 47 of file documentgetdoctype.java.
00048 {
00049 super(factory);
00050
00051 }
|
|
|
Reimplemented from DOMTest. Definition at line 66 of file documentgetdoctype.java.
00066 {
00067 return "http://www.w3.org/2001/DOM-Test-Suite/level1/core/documentgetdoctype";
00068 }
|
|
|
Definition at line 69 of file documentgetdoctype.java. References DOMTestCase::doMain().
00069 {
00070 DOMTestCase.doMain(documentgetdoctype.class,args);
00071 }
|
|
|
Reimplemented from DOMTestCase. Definition at line 53 of file documentgetdoctype.java. References DOMTestCase::assertEquals(), DOMTestCase::assertNull(), and DOMTest::load().
00053 {
00054 Document doc;
00055 DocumentType docType;
00056 String docTypeName;
00057 String nodeValue;
00058 doc = load("staff");
00059 docType = doc.getDoctype();
00060 docTypeName = docType.getName();
00061 assertEquals("documentGetDocTypeAssert","staff",docTypeName);
00062 nodeValue = docType.getNodeValue();
00063 assertNull("initiallyNull",nodeValue);
00064
00065 }
|
1.2.13.1 written by Dimitri van Heesch,
© 1997-2001