Public Methods | |
| nodedocumentnodetype (DOMTestDocumentBuilderFactory factory) | |
| void | runTest () throws java.lang.Throwable |
| String | getTargetURI () |
Static Public Methods | |
| void | main (String[] args) |
Retrieve the document and invoke the "getNodeType()" method. The method should return 9.
Definition at line 44 of file nodedocumentnodetype.java.
|
|
Definition at line 46 of file nodedocumentnodetype.java.
00047 {
00048 super(factory);
00049
00050 }
|
|
|
Reimplemented from DOMTest. Definition at line 60 of file nodedocumentnodetype.java.
00060 {
00061 return "http://www.w3.org/2001/DOM-Test-Suite/level1/core/nodedocumentnodetype";
00062 }
|
|
|
Definition at line 63 of file nodedocumentnodetype.java. References DOMTestCase::doMain().
00063 {
00064 DOMTestCase.doMain(nodedocumentnodetype.class,args);
00065 }
|
|
|
Reimplemented from DOMTestCase. Definition at line 52 of file nodedocumentnodetype.java. References DOMTestCase::assertEquals(), and DOMTest::load().
00052 {
00053 Document doc;
00054 int nodeType;
00055 doc = load("staff");
00056 nodeType = (int)doc.getNodeType();
00057 assertEquals("nodeDocumentNodeTypeAssert1",9,nodeType);
00058
00059 }
|
1.2.13.1 written by Dimitri van Heesch,
© 1997-2001