W3C home > Mailing lists > Public > www-dom-ts@w3.org > November 2003

DOML3 core test case questions

From: Neil Delima <nddelima@ca.ibm.com>
Date: Wed, 12 Nov 2003 23:42:45 -0500
To: www-dom-ts@w3.org
Message-ID: <OFFD639142.EA554061-ON85256DDC.007438C1-85256DDD.001A165E@ca.ibm.com>






- Test cases for attributes Text.isElementContentWhitespace and Attr.isId,
when transformed to java, appear to get inappropriately prefixed with a
"get".  Is there a fix for this?

-  Does the test framework support testing methods that either return
UserDataObject's or accept UserDataObject parameters.
   For example to test getParameter(...) is something like following valid?

<var name="doc" type="Document"/>
<var name="domConfig" type="DOMConfiguration"/>
<var name="param" type="Booelan"/> <!-- might case validation errors -->
<load var="doc" href="staffNS" willBeModified="false"/>
<domConfig obj="doc" var="domConfig" interface="Document"/>
<getParameter obj="domConfig" var="param" name='"comments"'/>
<assertEquals actual="param" expected='Boolean.TRUE' id="blah"/>  <!--
again possible validation errors -->


- Is there any way of specifying more than one acceptable expected
exception on a method?


Thanks,
Neil Delima / IBM.
Received on Wednesday, 12 November 2003 23:42:56 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 6 April 2009 12:58:49 GMT