Public Methods | |
| nodedocumentfragmentnodevalue (DOMTestDocumentBuilderFactory factory) | |
| void | runTest () throws java.lang.Throwable |
| String | getTargetURI () |
Static Public Methods | |
| void | main (String[] args) |
Retrieve the DOM document and invoke the "createDocumentFragment()" method and check the string returned by the "getNodeValue()" method. It should be equal to null.
Definition at line 48 of file nodedocumentfragmentnodevalue.java.
|
|
Definition at line 50 of file nodedocumentfragmentnodevalue.java.
00051 {
00052 super(factory);
00053
00054 }
|
|
|
Reimplemented from DOMTest. Definition at line 69 of file nodedocumentfragmentnodevalue.java.
00069 {
00070 return "http://www.w3.org/2001/DOM-Test-Suite/level1/core/nodedocumentfragmentnodevalue";
00071 }
|
|
|
Definition at line 72 of file nodedocumentfragmentnodevalue.java. References DOMTestCase::doMain().
00072 {
00073 DOMTestCase.doMain(nodedocumentfragmentnodevalue.class,args);
00074 }
|
|
|
Reimplemented from DOMTestCase. Definition at line 56 of file nodedocumentfragmentnodevalue.java. References DOMTestCase::assertNull(), and DOMTest::load().
00056 {
00057 Document doc;
00058 DocumentFragment docFragment;
00059 NamedNodeMap attrList;
00060 String value;
00061 doc = load("staff");
00062 docFragment = doc.createDocumentFragment();
00063 attrList = docFragment.getAttributes();
00064 assertNull("attributesNull",attrList);
00065 value = docFragment.getNodeValue();
00066 assertNull("initiallyNull",value);
00067
00068 }
|
1.2.13.1 written by Dimitri van Heesch,
© 1997-2001