Public Methods | |
| nodedocumentfragmentnodetype (DOMTestDocumentBuilderFactory factory) | |
| void | runTest () throws java.lang.Throwable |
| String | getTargetURI () |
Static Public Methods | |
| void | main (String[] args) |
Invoke the "createDocumentFragment()" method and examine the NodeType of the document fragment returned by the "getNodeType()" method. The method should return 11.
Definition at line 46 of file nodedocumentfragmentnodetype.java.
|
|
Definition at line 48 of file nodedocumentfragmentnodetype.java.
00049 {
00050 super(factory);
00051
00052 }
|
|
|
Reimplemented from DOMTest. Definition at line 64 of file nodedocumentfragmentnodetype.java.
00064 {
00065 return "http://www.w3.org/2001/DOM-Test-Suite/level1/core/nodedocumentfragmentnodetype";
00066 }
|
|
|
Definition at line 67 of file nodedocumentfragmentnodetype.java. References DOMTestCase::doMain().
00067 {
00068 DOMTestCase.doMain(nodedocumentfragmentnodetype.class,args);
00069 }
|
|
|
Reimplemented from DOMTestCase. Definition at line 54 of file nodedocumentfragmentnodetype.java. References DOMTestCase::assertEquals(), and DOMTest::load().
00054 {
00055 Document doc;
00056 DocumentFragment documentFragmentNode;
00057 int nodeType;
00058 doc = load("staff");
00059 documentFragmentNode = doc.createDocumentFragment();
00060 nodeType = (int)documentFragmentNode.getNodeType();
00061 assertEquals("nodeDocumentFragmentNodeTypeAssert1",11,nodeType);
00062
00063 }
|
1.2.13.1 written by Dimitri van Heesch,
© 1997-2001