Public Methods | |
| nodeentitysetnodevalue (DOMTestDocumentBuilderFactory factory) | |
| void | runTest () throws java.lang.Throwable |
| String | getTargetURI () |
Static Public Methods | |
| void | main (String[] args) |
Retrieve the first Entity declaration in the "DOCTYPE" section of the XML file, call setNodeValue with a non-null value and check the string returned by the "getNodeValue()" method. It should be equal to null.
Definition at line 47 of file nodeentitysetnodevalue.java.
|
|
Definition at line 49 of file nodeentitysetnodevalue.java.
00050 {
00051 super(factory);
00052
00053 }
|
|
|
Reimplemented from DOMTest. Definition at line 70 of file nodeentitysetnodevalue.java.
00070 {
00071 return "http://www.w3.org/2001/DOM-Test-Suite/level1/core/nodeentitysetnodevalue";
00072 }
|
|
|
Definition at line 73 of file nodeentitysetnodevalue.java. References DOMTestCase::doMain().
00073 {
00074 DOMTestCase.doMain(nodeentitysetnodevalue.class,args);
00075 }
|
|
|
Reimplemented from DOMTestCase. Definition at line 55 of file nodeentitysetnodevalue.java. References DOMTestCase::assertNull(), and DOMTest::load().
00055 {
00056 Document doc;
00057 DocumentType docType;
00058 NamedNodeMap testName;
00059 Node entityNode;
00060 String entityValue;
00061 doc = load("staff");
00062 docType = doc.getDoctype();
00063 testName = docType.getEntities();
00064 entityNode = testName.getNamedItem("ent1");
00065 entityNode.setNodeValue("This should have no effect");
00066 entityValue = entityNode.getNodeValue();
00067 assertNull("nodeValueNull",entityValue);
00068
00069 }
|
1.2.13.1 written by Dimitri van Heesch,
© 1997-2001