Sha256: 41f9432cc7b003dac6b2ddf69a35932e7e487c0c43f8e02dbfd9ca17a5cfba78
Contents?: true
Size: 1.94 KB
Versions: 1
Compression:
Stored size: 1.94 KB
Contents
### # This Ruby source file was generated by test-to-ruby.xsl # and is a derived work from the source document. # The source document contained the following notice: =begin Copyright (c) 2004 World Wide Web Consortium, (Massachusetts Institute of Technology, Institut National de Recherche en Informatique et en Automatique, Keio University). All Rights Reserved. This program is distributed under the W3C's Software Intellectual Property License. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See W3C License http://www.w3.org/Consortium/Legal/ for more details. =end # require File.expand_path(File.join(File.dirname(__FILE__), '..', '..', '..', 'helper')) ### # HTMLInputElement.select should select the contents of a text area. # @author Curt Arnold # see[http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-34677168] ## DOMTestCase('HTMLInputElement22') do ### # Constructor. # @param factory document factory, may not be null # @throws org.w3c.domts.DOMTestIncompatibleException Thrown if test is not compatible with parser configuration ## def setup ## ## check if loaded documents are supported for content type ## contentType = getContentType() preload(contentType, "input", true) end ### # Runs the test case. # @throws Throwable Any uncaught exception causes test to fail # def test_HTMLInputElement22 nodeList = nil testNode = nil doc = nil checked = nil doc = load_document("input", true) nodeList = doc.getElementsByTagName("input") assertSize("Asize", 9, nodeList) testNode = nodeList.item(0) testNode.select() end ### # Gets URI that identifies the test. # @return uri identifier of test # def targetURI "http://www.w3.org/2001/DOM-Test-Suite/level1/html/HTMLInputElement22" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
taka-0.0.1 | test/dom/level1/html/test_htmlinputelement22.rb |