Public Methods | |
| nodedocumentnodename (DOMTestDocumentBuilderFactory factory) | |
| void | runTest () throws java.lang.Throwable |
| String | getTargetURI () |
Static Public Methods | |
| void | main (String[] args) |
Retrieve the DOM document and check the string returned by the "getNodeName()" method. It should be equal to "document".
Definition at line 45 of file nodedocumentnodename.java.
|
|
Definition at line 47 of file nodedocumentnodename.java.
00048 {
00049 super(factory);
00050
00051 }
|
|
|
Reimplemented from DOMTest. Definition at line 61 of file nodedocumentnodename.java.
00061 {
00062 return "http://www.w3.org/2001/DOM-Test-Suite/level1/core/nodedocumentnodename";
00063 }
|
|
|
Definition at line 64 of file nodedocumentnodename.java. References DOMTestCase::doMain().
00064 {
00065 DOMTestCase.doMain(nodedocumentnodename.class,args);
00066 }
|
|
|
Reimplemented from DOMTestCase. Definition at line 53 of file nodedocumentnodename.java. References DOMTestCase::assertEquals(), and DOMTest::load().
00053 {
00054 Document doc;
00055 String documentName;
00056 doc = load("staff");
00057 documentName = doc.getNodeName();
00058 assertEquals("nodeDocumentNodeNameAssert1","#document",documentName);
00059
00060 }
|
1.2.13.1 written by Dimitri van Heesch,
© 1997-2001