Public Methods | |
| nodeprocessinginstructionnodetype (DOMTestDocumentBuilderFactory factory) | |
| void | runTest () throws java.lang.Throwable |
| String | getTargetURI () |
Static Public Methods | |
| void | main (String[] args) |
node returns the constant value 7.
Retrieve a NodeList of child elements from the document.
Retrieve the first child and invoke the "getNodeType()"
method. The method should return 7.
Definition at line 51 of file nodeprocessinginstructionnodetype.java.
|
|
Definition at line 53 of file nodeprocessinginstructionnodetype.java.
00054 {
00055 super(factory);
00056
00057 }
|
|
|
Reimplemented from DOMTest. Definition at line 71 of file nodeprocessinginstructionnodetype.java.
00071 {
00072 return "http://www.w3.org/2001/DOM-Test-Suite/level1/core/nodeprocessinginstructionnodetype";
00073 }
|
|
|
Definition at line 74 of file nodeprocessinginstructionnodetype.java. References DOMTestCase::doMain().
00074 {
00075 DOMTestCase.doMain(nodeprocessinginstructionnodetype.class,args);
00076 }
|
|
|
Reimplemented from DOMTestCase. Definition at line 59 of file nodeprocessinginstructionnodetype.java. References DOMTestCase::assertEquals(), and DOMTest::load().
00059 {
00060 Document doc;
00061 NodeList testList;
00062 Node piNode;
00063 int nodeType;
00064 doc = load("staff");
00065 testList = doc.getChildNodes();
00066 piNode = testList.item(0);
00067 nodeType = (int)piNode.getNodeType();
00068 assertEquals("nodeProcessingInstructionNodeTypeAssert1",7,nodeType);
00069
00070 }
|
1.2.13.1 written by Dimitri van Heesch,
© 1997-2001