Public Methods | |
| documentgetrootnode (DOMTestDocumentBuilderFactory factory) | |
| void | runTest () throws java.lang.Throwable |
| String | getTargetURI () |
Static Public Methods | |
| void | main (String[] args) |
Definition at line 43 of file documentgetrootnode.java.
|
|
Definition at line 45 of file documentgetrootnode.java.
00046 {
00047 super(factory);
00048
00049 }
|
|
|
Reimplemented from DOMTest. Definition at line 61 of file documentgetrootnode.java.
00061 {
00062 return "http://www.w3.org/2001/DOM-Test-Suite/level1/core/documentgetrootnode";
00063 }
|
|
|
Definition at line 64 of file documentgetrootnode.java. References DOMTestCase::doMain().
00064 {
00065 DOMTestCase.doMain(documentgetrootnode.class,args);
00066 }
|
|
|
Reimplemented from DOMTestCase. Definition at line 51 of file documentgetrootnode.java. References DOMTestCase::assertEquals(), and DOMTest::load().
00051 {
00052 Document doc;
00053 Element root;
00054 String rootName;
00055 doc = load("staff");
00056 root = doc.getDocumentElement();
00057 rootName = root.getNodeName();
00058 assertEquals("documentGetRootNodeAssert","staff",rootName);
00059
00060 }
|
1.2.13.1 written by Dimitri van Heesch,
© 1997-2001