trunk/resources/tests/dom3/Core/domstringlistgetlength01.xml
changeset 0 5057afe1ec87
equal deleted inserted replaced
-1:000000000000 0:5057afe1ec87
       
     1 <?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
       
     2 <!--
       
     3 
       
     4 Copyright (c) 2001-2004 World Wide Web Consortium, 
       
     5 (Massachusetts Institute of Technology, Institut National de
       
     6 Recherche en Informatique et en Automatique, Keio University).  All 
       
     7 Rights Reserved.  This program is distributed under the W3C's Software
       
     8 Intellectual Property License.  This program is distributed in the 
       
     9 hope that it will be useful, but WITHOUT ANY WARRANTY; without even
       
    10 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
       
    11 PURPOSE.  
       
    12 
       
    13 See W3C License http://www.w3.org/Consortium/Legal/ for more details.
       
    14 
       
    15 -->
       
    16 
       
    17 
       
    18 <test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-3" name="domstringlistgetlength01">
       
    19 <metadata>
       
    20 <title>domstringlistgetlength01</title>
       
    21 <creator>IBM</creator>
       
    22 <description>
       
    23 	The length attribute of the DOMStringList returns the number of DOMStrings in the list. 
       
    24 	The range of valid child node indices is 0 to length-1 inclusive.
       
    25 
       
    26 	Invoke the length on the list of parameters returned by the DOMConfiguration object.  
       
    27 	Verify that the list is not null and length is not 0.
       
    28 </description>
       
    29 <contributor>Jenny Hsu</contributor>
       
    30 <date qualifier="created">2003-10-29</date>
       
    31 <subject resource="http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#DOMStringList-length"/>
       
    32 <subject resource="http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#DOMConfiguration-parameterNames"/>
       
    33 </metadata>
       
    34 <var name="doc" type="Document"/>
       
    35 <var name="paramList" type="DOMStringList"/>
       
    36 <var name="domConfig" type="DOMConfiguration"/>
       
    37 <var name="listSize" type="int"/>
       
    38 <load var="doc" href="hc_staff" willBeModified="false"/>
       
    39 <domConfig obj="doc" var="domConfig" interface="Document"/>
       
    40 <parameterNames obj="domConfig" var="paramList"/>
       
    41 <assertNotNull actual="paramList" id="domstringlistgetlength01_notNull"/>
       
    42 <length obj="paramList" var="listSize" interface="DOMStringList"/>
       
    43 <assertNotEquals actual="listSize" expected="0" id="domstringlistgetlength01_notZero" ignoreCase="false"/>
       
    44 </test> 
       
    45