Main Page   Packages   Class Hierarchy   Compound List   File List   Compound Members  

nodedocumentnodevalue Class Reference

Inherits DOMTestCase.

List of all members.

Public Methods

 nodedocumentnodevalue (DOMTestDocumentBuilderFactory factory)
void runTest () throws java.lang.Throwable
String getTargetURI ()

Static Public Methods

void main (String[] args)


Detailed Description

The string returned by the "getNodeValue()" method for a Document Node is null.

Retrieve the DOM Document and check the string returned by the "getNodeValue()" method. It should be equal to null.

Author:
NIST , Mary Brady
See also:
http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#i-Document , http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-F68D080

Definition at line 46 of file nodedocumentnodevalue.java.


Constructor & Destructor Documentation

nodedocumentnodevalue::nodedocumentnodevalue DOMTestDocumentBuilderFactory    factory [inline]
 

Definition at line 48 of file nodedocumentnodevalue.java.

00049  {
00050       super(factory);
00051 
00052    }


Member Function Documentation

String nodedocumentnodevalue::getTargetURI   [inline, virtual]
 

Reimplemented from DOMTest.

Definition at line 62 of file nodedocumentnodevalue.java.

00062                                 {
00063       return "http://www.w3.org/2001/DOM-Test-Suite/level1/core/nodedocumentnodevalue";
00064    }

void nodedocumentnodevalue::main String    args[] [inline, static]
 

Definition at line 65 of file nodedocumentnodevalue.java.

References DOMTestCase::doMain().

00065                                           {
00066         DOMTestCase.doMain(nodedocumentnodevalue.class,args);
00067    }

void nodedocumentnodevalue::runTest   [inline, virtual]
 

Reimplemented from DOMTestCase.

Definition at line 54 of file nodedocumentnodevalue.java.

References DOMTestCase::assertNull(), and DOMTest::load().

00054                                                     {
00055       Document doc;
00056       String documentValue;
00057       doc = load("staff");
00058       documentValue = doc.getNodeValue();
00059       assertNull("nodeDocumentNodeValueAssert1",documentValue);
00060       
00061    }


The documentation for this class was generated from the following file:
Generated on Thu Feb 14 19:47:00 2002 for DOM Level 1 Core Test Suite by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001