Re: Demo DOM Core 1, DOM Core 2, DOM HTML 2 TS using jsUnit 1.3.0

Philippe Le Hegaret <[email protected]>
Newsgroups gmane.comp.web.dom.test-suites.general
Message-ID <1025204634.12160.58.camel@jfouffa>
On Thu, 2002-06-27 at 13:05, Robert Clary wrote:
> Be sure you are running the DOM HTML 2 tests as text/html. My 
> comparisons on a local webserver show on a PIII 700/Win2k box:
> 
> 
> IE6       [214 seconds, text/html], [1238 seconds, text/xml]
> Moz 1.0.1 [834 seconds, text/html], [1124 seconds, text/xml]

I tried to run Bob's tests on my Windows XP and didn't have lots of
success unfortunately.

I wasn't able to try with Mozilla 1.0.1 but both Mozilla 1.0 and 1.1
didn't run the tests.

IE6 becomes unstable when running the tests for Core (it crashed after 2
or 3 retries) but I managed to obtain a result for DOM level 2 HTML (see
attachment). That is interesting data for the WG since it shows that
some types in IE6 don't match the ones in the CR of DOM level 2 HTML.
There are some uppercase/lowercase issue as well and some of them are
probably errors in the tests themselves. A tagName will "BODY" if the
document was HTML 4, and "body" if the document was XHTML 1. If someone
has the output results from Mozilla 1.0.1, I'd like to have a look at
them.
Curt mentioned that createHTMLDocument and contentDocument tests were
missing so I started to work on them. I have 2 for createHTMLDocument
but are not able to test them for the moment unfortunately.

Philippe
IE6.dom2html.html (text/html, 21.5 KB)
<html><head><link rel="stylesheet" href="../css/jsUnitStyle.css"><title>Tests with problems - JsUnit</title><head><body><p class="jsUnitSubHeading">Tests with problems (62/532 total) - JsUnit</p><p class="jsUnitDefault"><b>1. http://bclary.com/dom-ts/dom-html-2-tests/HTMLAppletElement07.html:testHTMLAppletElement07 failed</b></p><p><pre>"hspaceLink"
Expected 0 (string) but was 0 (number)

Stack trace follows:
> JsUnitException
> _assert
> assertEquals
> HTMLAppletElement07_runTest
> testHTMLAppletElement07
</pre></p><p class="jsUnitDefault"><b>2. http://bclary.com/dom-ts/dom-html-2-tests/HTMLAppletElement09.html:testHTMLAppletElement09 failed</b></p><p><pre>"vspaceLink"
Expected 0 (string) but was 0 (number)

Stack trace follows:
> JsUnitException
> _assert
> assertEquals
> HTMLAppletElement09_runTest
> testHTMLAppletElement09
</pre></p><p class="jsUnitDefault"><b>3. http://bclary.com/dom-ts/dom-html-2-tests/HTMLAreaElement06.html:testHTMLAreaElement06 failed</b></p><p><pre>"shapeLink"
Expected rect (string) but was RECT (string)

Stack trace follows:
> JsUnitException
> _assert
> assertEquals
> HTMLAreaElement06_runTest
> testHTMLAreaElement06
</pre></p><p class="jsUnitDefault"><b>4. http://bclary.com/dom-ts/dom-html-2-tests/HTMLBaseFontElement03.html:testHTMLBaseFontElement03 failed</b></p><p><pre>"sizeLink"
Expected 4 (string) but was 4 (number)

Stack trace follows:
> JsUnitException
> _assert
> assertEquals
> HTMLBaseFontElement03_runTest
> testHTMLBaseFontElement03
</pre></p><p class="jsUnitDefault"><b>5. http://bclary.com/dom-ts/dom-html-2-tests/HTMLButtonElement08.html:testHTMLButtonElement08 failed</b></p><p><pre>"valueLink"
Expected Reset Disabled Button (string) but was Reset (string)

Stack trace follows:
> JsUnitException
> _assert
> assertEquals
> HTMLButtonElement08_runTest
> testHTMLButtonElement08
</pre></p><p class="jsUnitDefault"><b>6. http://bclary.com/dom-ts/dom-html-2-tests/HTMLDocument02.html:testHTMLDocument02 failed</b></p><p><pre>"referrerLink"
Expected  (string) but was http://bclary.com/dev/bclary-com/jsunit/jsunit/app/main-loader.html (string)

Stack trace follows:
> JsUnitException
> _assert
> assertEquals
> HTMLDocument02_runTest
> testHTMLDocument02
</pre></p><p class="jsUnitDefault"><b>7. http://bclary.com/dom-ts/dom-html-2-tests/HTMLDocument03.html:testHTMLDocument03 failed</b></p><p><pre>"domainLink"
Expected  (string) but was bclary.com (string)

Stack trace follows:
> JsUnitException
> _assert
> assertEquals
> HTMLDocument03_runTest
> testHTMLDocument03
</pre></p><p class="jsUnitDefault"><b>8. http://bclary.com/dom-ts/dom-html-2-tests/HTMLDocument08.html:testHTMLDocument08 failed</b></p><p><pre>"lengthLink"
Expected 2 (number) but was 4 (number)

Stack trace follows:
> JsUnitException
> _assert
> assertEquals
> HTMLDocument08_runTest
> testHTMLDocument08
</pre></p><p class="jsUnitDefault"><b>9. http://bclary.com/dom-ts/dom-html-2-tests/HTMLImageElement04.html:testHTMLImageElement04 failed</b></p><p><pre>"borderLink"
Expected 0 (number) but was 0 (string)

Stack trace follows:
> JsUnitException
> _assert
> assertEquals
> HTMLImageElement04_runTest
> testHTMLImageElement04
</pre></p><p class="jsUnitDefault"><b>10. http://bclary.com/dom-ts/dom-html-2-tests/HTMLInputElement06.html:testHTMLInputElement06 failed</b></p><p><pre>"alignLink"
Expected bottom (string) but was  (string)

Stack trace follows:
> JsUnitException
> _assert
> assertEquals
> HTMLInputElement06_runTest
> testHTMLInputElement06
</pre></p><p class="jsUnitDefault"><b>11. http://bclary.com/dom-ts/dom-html-2-tests/HTMLIsIndexElement01.html:testHTMLIsIndexElement01 failed</b></p><p><pre>"Asize"
Expected 2 (number) but was 1 (number)

Stack trace follows:
> JsUnitException
> _assert
> assertEquals
> assertSize
> HTMLIsIndexElement01_runTest
> testHTMLIsIndexElement01
</pre></p><p class="jsUnitDefault"><b>12. http://bclary.com/dom-ts/dom-html-2-tests/HTMLIsIndexElement02.html:testHTMLIsIndexElement02 failed</b></p><p><pre>"Asize"
Expected 2 (number) but was 1 (number)

Stack trace follows:
> JsUnitException
> _assert
> assertEquals
> assertSize
> HTMLIsIndexElement02_runTest
> testHTMLIsIndexElement02
</pre></p><p class="jsUnitDefault"><b>13. http://bclary.com/dom-ts/dom-html-2-tests/HTMLIsIndexElement03.html:testHTMLIsIndexElement03 failed</b></p><p><pre>"Asize"
Expected 2 (number) but was 1 (number)

Stack trace follows:
> JsUnitException
> _assert
> assertEquals
> assertSize
> HTMLIsIndexElement03_runTest
> testHTMLIsIndexElement03
</pre></p><p class="jsUnitDefault"><b>14. http://bclary.com/dom-ts/dom-html-2-tests/HTMLObjectElement11.html:testHTMLObjectElement11 failed</b></p><p><pre>"hspaceLink"
Expected 0 (string) but was 0 (number)

Stack trace follows:
> JsUnitException
> _assert
> assertEquals
> HTMLObjectElement11_runTest
> testHTMLObjectElement11
</pre></p><p class="jsUnitDefault"><b>15. http://bclary.com/dom-ts/dom-html-2-tests/HTMLObjectElement16.html:testHTMLObjectElement16 failed</b></p><p><pre>"vspaceLink"
Expected 0 (string) but was 0 (number)

Stack trace follows:
> JsUnitException
> _assert
> assertEquals
> HTMLObjectElement16_runTest
> testHTMLObjectElement16
</pre></p><p class="jsUnitDefault"><b>16. http://bclary.com/dom-ts/dom-html-2-tests/HTMLPreElement01.html:testHTMLPreElement01 failed</b></p><p><pre>"widthLink"
Expected 277 (number) but was 277 (string)

Stack trace follows:
> JsUnitException
> _assert
> assertEquals
> HTMLPreElement01_runTest
> testHTMLPreElement01
</pre></p><p class="jsUnitDefault"><b>17. http://bclary.com/dom-ts/dom-html-2-tests/HTMLSelectElement03.html:testHTMLSelectElement03 failed</b></p><p><pre>"selectedIndexLink"
Expected -1 (number) but was 0 (number)

Stack trace follows:
> JsUnitException
> _assert
> assertEquals
> HTMLSelectElement03_runTest
> testHTMLSelectElement03
</pre></p><p class="jsUnitDefault"><b>18. http://bclary.com/dom-ts/dom-html-2-tests/HTMLSelectElement08.html:testHTMLSelectElement08 failed</b></p><p><pre>"optionsLink"
Expected option (string) but was OPTION (string)

Stack trace follows:
> JsUnitException
> _assert
> assertEquals
> assertEqualsList
> HTMLSelectElement08_runTest
> testHTMLSelectElement08
</pre></p><p class="jsUnitDefault"><b>19. http://bclary.com/dom-ts/dom-html-2-tests/HTMLTableCellElement09.html:testHTMLTableCellElement09 failed</b></p><p><pre>"bgColorLink"
Expected 00FFFF (string) but was #00ffff (string)

Stack trace follows:
> JsUnitException
> _assert
> assertEquals
> HTMLTableCellElement09_runTest
> testHTMLTableCellElement09
</pre></p><p class="jsUnitDefault"><b>20. http://bclary.com/dom-ts/dom-html-2-tests/HTMLTableCellElement10.html:testHTMLTableCellElement10 failed</b></p><p><pre>"bgColorLink"
Expected FF0000 (string) but was #ff0000 (string)

Stack trace follows:
> JsUnitException
> _assert
> assertEquals
> HTMLTableCellElement10_runTest
> testHTMLTableCellElement10
</pre></p><p class="jsUnitDefault"><b>21. http://bclary.com/dom-ts/dom-html-2-tests/HTMLTableCellElement11.html:testHTMLTableCellElement11 failed</b></p><p><pre>"chLink"
Expected : (string) but was  (string)

Stack trace follows:
> JsUnitException
> _assert
> assertEquals
> HTMLTableCellElement11_runTest
> testHTMLTableCellElement11
</pre></p><p class="jsUnitDefault"><b>22. http://bclary.com/dom-ts/dom-html-2-tests/HTMLTableCellElement12.html:testHTMLTableCellElement12 failed</b></p><p><pre>"chLink"
Expected : (string) but was  (string)

Stack trace follows:
> JsUnitException
> _assert
> assertEquals
> HTMLTableCellElement12_runTest
> testHTMLTableCellElement12
</pre></p><p class="jsUnitDefault"><b>23. http://bclary.com/dom-ts/dom-html-2-tests/HTMLTableCellElement13.html:testHTMLTableCellElement13 failed</b></p><p><pre>"chOffLink"
Expected 1 (string) but was  (string)

Stack trace follows:
> JsUnitException
> _assert
> assertEquals
> HTMLTableCellElement13_runTest
> testHTMLTableCellElement13
</pre></p><p class="jsUnitDefault"><b>24. http://bclary.com/dom-ts/dom-html-2-tests/HTMLTableCellElement14.html:testHTMLTableCellElement14 failed</b></p><p><pre>"chOffLink"
Expected 1 (string) but was  (string)

Stack trace follows:
> JsUnitException
> _assert
> assertEquals
> HTMLTableCellElement14_runTest
> testHTMLTableCellElement14
</pre></p><p class="jsUnitDefault"><b>25. http://bclary.com/dom-ts/dom-html-2-tests/HTMLTableColElement03.html:testHTMLTableColElement03 failed</b></p><p><pre>"chLink"
Expected * (string) but was  (string)

Stack trace follows:
> JsUnitException
> _assert
> assertEquals
> HTMLTableColElement03_runTest
> testHTMLTableColElement03
</pre></p><p class="jsUnitDefault"><b>26. http://bclary.com/dom-ts/dom-html-2-tests/HTMLTableColElement04.html:testHTMLTableColElement04 failed</b></p><p><pre>"chLink"
Expected $ (string) but was  (string)

Stack trace follows:
> JsUnitException
> _assert
> assertEquals
> HTMLTableColElement04_runTest
> testHTMLTableColElement04
</pre></p><p class="jsUnitDefault"><b>27. http://bclary.com/dom-ts/dom-html-2-tests/HTMLTableColElement05.html:testHTMLTableColElement05 failed</b></p><p><pre>"chLink"
Expected 20 (string) but was  (string)

Stack trace follows:
> JsUnitException
> _assert
> assertEquals
> HTMLTableColElement05_runTest
> testHTMLTableColElement05
</pre></p><p class="jsUnitDefault"><b>28. http://bclary.com/dom-ts/dom-html-2-tests/HTMLTableColElement06.html:testHTMLTableColElement06 failed</b></p><p><pre>"chLink"
Expected 15 (string) but was  (string)

Stack trace follows:
> JsUnitException
> _assert
> assertEquals
> HTMLTableColElement06_runTest
> testHTMLTableColElement06
</pre></p><p class="jsUnitDefault"><b>29. http://bclary.com/dom-ts/dom-html-2-tests/HTMLTableElement07.html:testHTMLTableElement07 failed</b></p><p><pre>"rowsLink"
Expected tr (string) but was TR (string)

Stack trace follows:
> JsUnitException
> _assert
> assertEquals
> assertEqualsList
> HTMLTableElement07_runTest
> testHTMLTableElement07
</pre></p><p class="jsUnitDefault"><b>30. http://bclary.com/dom-ts/dom-html-2-tests/HTMLTableElement08.html:testHTMLTableElement08 failed</b></p><p><pre>"tbodiesLink"
Expected tbody (string) but was TBODY (string)

Stack trace follows:
> JsUnitException
> _assert
> assertEquals
> assertEqualsList
> HTMLTableElement08_runTest
> testHTMLTableElement08
</pre></p><p class="jsUnitDefault"><b>31. http://bclary.com/dom-ts/dom-html-2-tests/HTMLTableElement09.html:testHTMLTableElement09 failed</b></p><p><pre>"tbodiesLink"
Expected tbody (string) but was TBODY (string)

Stack trace follows:
> JsUnitException
> _assert
> assertEquals
> assertEqualsList
> HTMLTableElement09_runTest
> testHTMLTableElement09
</pre></p><p class="jsUnitDefault"><b>32. http://bclary.com/dom-ts/dom-html-2-tests/HTMLTableElement31.html:testHTMLTableElement31 failed</b></p><p><pre>"Asize2"
Expected 0 (number) but was 1 (number)

Stack trace follows:
> JsUnitException
> _assert
> assertEquals
> HTMLTableElement31_runTest
> testHTMLTableElement31
</pre></p><p class="jsUnitDefault"><b>33. http://bclary.com/dom-ts/dom-html-2-tests/HTMLTableElement34.html:testHTMLTableElement34 failed</b></p><p><pre>"HTMLTableElement34"
Call to assertTrue(boolean) with false

Stack trace follows:
> JsUnitException
> _assert
> assertTrue
> HTMLTableElement34_runTest
> testHTMLTableElement34
</pre></p><p class="jsUnitDefault"><b>34. http://bclary.com/dom-ts/dom-html-2-tests/HTMLTableElement35.html:testHTMLTableElement35 failed</b></p><p><pre>"HTMLTableElement35"
Call to assertTrue(boolean) with false

Stack trace follows:
> JsUnitException
> _assert
> assertTrue
> HTMLTableElement35_runTest
> testHTMLTableElement35
</pre></p><p class="jsUnitDefault"><b>35. http://bclary.com/dom-ts/dom-html-2-tests/HTMLTableElement36.html:testHTMLTableElement36 failed</b></p><p><pre>"HTMLTableElement36"
Call to assertTrue(boolean) with false

Stack trace follows:
> JsUnitException
> _assert
> assertTrue
> HTMLTableElement36_runTest
> testHTMLTableElement36
</pre></p><p class="jsUnitDefault"><b>36. http://bclary.com/dom-ts/dom-html-2-tests/HTMLTableElement37.html:testHTMLTableElement37 failed</b></p><p><pre>"HTMLTableElement37"
Call to assertTrue(boolean) with false

Stack trace follows:
> JsUnitException
> _assert
> assertTrue
> HTMLTableElement37_runTest
> testHTMLTableElement37
</pre></p><p class="jsUnitDefault"><b>37. http://bclary.com/dom-ts/dom-html-2-tests/HTMLTableElement38.html:testHTMLTableElement38 failed</b></p><p><pre>"HTMLTableElement38"
Call to assertTrue(boolean) with false

Stack trace follows:
> JsUnitException
> _assert
> assertTrue
> HTMLTableElement38_runTest
> testHTMLTableElement38
</pre></p><p class="jsUnitDefault"><b>38. http://bclary.com/dom-ts/dom-html-2-tests/HTMLTableRowElement07.html:testHTMLTableRowElement07 failed</b></p><p><pre>"bgColorLink"
Expected #00FFFF (string) but was #00ffff (string)

Stack trace follows:
> JsUnitException
> _assert
> assertEquals
> HTMLTableRowElement07_runTest
> testHTMLTableRowElement07
</pre></p><p class="jsUnitDefault"><b>39. http://bclary.com/dom-ts/dom-html-2-tests/HTMLTableRowElement08.html:testHTMLTableRowElement08 failed</b></p><p><pre>"chLink"
Expected * (string) but was  (string)

Stack trace follows:
> JsUnitException
> _assert
> assertEquals
> HTMLTableRowElement08_runTest
> testHTMLTableRowElement08
</pre></p><p class="jsUnitDefault"><b>40. http://bclary.com/dom-ts/dom-html-2-tests/HTMLTableRowElement09.html:testHTMLTableRowElement09 failed</b></p><p><pre>"charOffLink"
Expected 1 (string) but was  (string)

Stack trace follows:
> JsUnitException
> _assert
> assertEquals
> HTMLTableRowElement09_runTest
> testHTMLTableRowElement09
</pre></p><p class="jsUnitDefault"><b>41. http://bclary.com/dom-ts/dom-html-2-tests/HTMLTableRowElement15.html:testHTMLTableRowElement15 failed</b></p><p><pre>"HTMLTableRowElement15"
Call to assertTrue(boolean) with false

Stack trace follows:
> JsUnitException
> _assert
> assertTrue
> HTMLTableRowElement15_runTest
> testHTMLTableRowElement15
</pre></p><p class="jsUnitDefault"><b>42. http://bclary.com/dom-ts/dom-html-2-tests/HTMLTableRowElement16.html:testHTMLTableRowElement16 failed</b></p><p><pre>"HTMLTableRowElement16"
Call to assertTrue(boolean) with false

Stack trace follows:
> JsUnitException
> _assert
> assertTrue
> HTMLTableRowElement16_runTest
> testHTMLTableRowElement16
</pre></p><p class="jsUnitDefault"><b>43. http://bclary.com/dom-ts/dom-html-2-tests/HTMLTableRowElement17.html:testHTMLTableRowElement17 failed</b></p><p><pre>"HTMLTableRowElement17"
Call to assertTrue(boolean) with false

Stack trace follows:
> JsUnitException
> _assert
> assertTrue
> HTMLTableRowElement17_runTest
> testHTMLTableRowElement17
</pre></p><p class="jsUnitDefault"><b>44. http://bclary.com/dom-ts/dom-html-2-tests/HTMLTableRowElement18.html:testHTMLTableRowElement18 failed</b></p><p><pre>"HTMLTableRowElement18"
Call to assertTrue(boolean) with false

Stack trace follows:
> JsUnitException
> _assert
> assertTrue
> HTMLTableRowElement18_runTest
> testHTMLTableRowElement18
</pre></p><p class="jsUnitDefault"><b>45. http://bclary.com/dom-ts/dom-html-2-tests/HTMLTableRowElement19.html:testHTMLTableRowElement19 failed</b></p><p><pre>"HTMLTableRowElement19"
Call to assertTrue(boolean) with false

Stack trace follows:
> JsUnitException
> _assert
> assertTrue
> HTMLTableRowElement19_runTest
> testHTMLTableRowElement19
</pre></p><p class="jsUnitDefault"><b>46. http://bclary.com/dom-ts/dom-html-2-tests/HTMLTableSectionElement03.html:testHTMLTableSectionElement03 failed</b></p><p><pre>"Asize"
Expected 1 (number) but was 2 (number)

Stack trace follows:
> JsUnitException
> _assert
> assertEquals
> assertSize
> HTMLTableSectionElement03_runTest
> testHTMLTableSectionElement03
</pre></p><p class="jsUnitDefault"><b>47. http://bclary.com/dom-ts/dom-html-2-tests/HTMLTableSectionElement04.html:testHTMLTableSectionElement04 failed</b></p><p><pre>"chLink"
Expected * (string) but was  (string)

Stack trace follows:
> JsUnitException
> _assert
> assertEquals
> HTMLTableSectionElement04_runTest
> testHTMLTableSectionElement04
</pre></p><p class="jsUnitDefault"><b>48. http://bclary.com/dom-ts/dom-html-2-tests/HTMLTableSectionElement05.html:testHTMLTableSectionElement05 failed</b></p><p><pre>"chLink"
Expected + (string) but was  (string)

Stack trace follows:
> JsUnitException
> _assert
> assertEquals
> HTMLTableSectionElement05_runTest
> testHTMLTableSectionElement05
</pre></p><p class="jsUnitDefault"><b>49. http://bclary.com/dom-ts/dom-html-2-tests/HTMLTableSectionElement06.html:testHTMLTableSectionElement06 failed</b></p><p><pre>"Asize"
Expected 1 (number) but was 2 (number)

Stack trace follows:
> JsUnitException
> _assert
> assertEquals
> assertSize
> HTMLTableSectionElement06_runTest
> testHTMLTableSectionElement06
</pre></p><p class="jsUnitDefault"><b>50. http://bclary.com/dom-ts/dom-html-2-tests/HTMLTableSectionElement07.html:testHTMLTableSectionElement07 failed</b></p><p><pre>"chOffLink"
Expected 1 (string) but was  (string)

Stack trace follows:
> JsUnitException
> _assert
> assertEquals
> HTMLTableSectionElement07_runTest
> testHTMLTableSectionElement07
</pre></p><p class="jsUnitDefault"><b>51. http://bclary.com/dom-ts/dom-html-2-tests/HTMLTableSectionElement08.html:testHTMLTableSectionElement08 failed</b></p><p><pre>"chOffLink"
Expected 2 (string) but was  (string)

Stack trace follows:
> JsUnitException
> _assert
> assertEquals
> HTMLTableSectionElement08_runTest
> testHTMLTableSectionElement08
</pre></p><p class="jsUnitDefault"><b>52. http://bclary.com/dom-ts/dom-html-2-tests/HTMLTableSectionElement09.html:testHTMLTableSectionElement09 failed</b></p><p><pre>"Asize"
Expected 1 (number) but was 2 (number)

Stack trace follows:
> JsUnitException
> _assert
> assertEquals
> assertSize
> HTMLTableSectionElement09_runTest
> testHTMLTableSectionElement09
</pre></p><p class="jsUnitDefault"><b>53. http://bclary.com/dom-ts/dom-html-2-tests/HTMLTableSectionElement12.html:testHTMLTableSectionElement12 failed</b></p><p><pre>"Asize"
Expected 1 (number) but was 2 (number)

Stack trace follows:
> JsUnitException
> _assert
> assertEquals
> assertSize
> HTMLTableSectionElement12_runTest
> testHTMLTableSectionElement12
</pre></p><p class="jsUnitDefault"><b>54. http://bclary.com/dom-ts/dom-html-2-tests/HTMLTableSectionElement15.html:testHTMLTableSectionElement15 failed</b></p><p><pre>"Asize"
Expected 1 (number) but was 2 (number)

Stack trace follows:
> JsUnitException
> _assert
> assertEquals
> assertSize
> HTMLTableSectionElement15_runTest
> testHTMLTableSectionElement15
</pre></p><p class="jsUnitDefault"><b>55. http://bclary.com/dom-ts/dom-html-2-tests/HTMLTableSectionElement18.html:testHTMLTableSectionElement18 failed</b></p><p><pre>"Asize"
Expected 1 (number) but was 2 (number)

Stack trace follows:
> JsUnitException
> _assert
> assertEquals
> assertSize
> HTMLTableSectionElement18_runTest
> testHTMLTableSectionElement18
</pre></p><p class="jsUnitDefault"><b>56. http://bclary.com/dom-ts/dom-html-2-tests/HTMLTableSectionElement21.html:testHTMLTableSectionElement21 failed</b></p><p><pre>"Asize"
Expected 1 (number) but was 2 (number)

Stack trace follows:
> JsUnitException
> _assert
> assertEquals
> assertSize
> HTMLTableSectionElement21_runTest
> testHTMLTableSectionElement21
</pre></p><p class="jsUnitDefault"><b>57. http://bclary.com/dom-ts/dom-html-2-tests/HTMLTableSectionElement24.html:testHTMLTableSectionElement24 failed</b></p><p><pre>"Asize"
Expected 1 (number) but was 2 (number)

Stack trace follows:
> JsUnitException
> _assert
> assertEquals
> assertSize
> HTMLTableSectionElement24_runTest
> testHTMLTableSectionElement24
</pre></p><p class="jsUnitDefault"><b>58. http://bclary.com/dom-ts/dom-html-2-tests/HTMLTableSectionElement25.html:testHTMLTableSectionElement25 failed</b></p><p><pre>"HTMLTableSectionElement25"
Call to assertTrue(boolean) with false

Stack trace follows:
> JsUnitException
> _assert
> assertTrue
> HTMLTableSectionElement25_runTest
> testHTMLTableSectionElement25
</pre></p><p class="jsUnitDefault"><b>59. http://bclary.com/dom-ts/dom-html-2-tests/HTMLTableSectionElement26.html:testHTMLTableSectionElement26 failed</b></p><p><pre>"HTMLTableSectionElement26"
Call to assertTrue(boolean) with false

Stack trace follows:
> JsUnitException
> _assert
> assertTrue
> HTMLTableSectionElement26_runTest
> testHTMLTableSectionElement26
</pre></p><p class="jsUnitDefault"><b>60. http://bclary.com/dom-ts/dom-html-2-tests/HTMLTableSectionElement27.html:testHTMLTableSectionElement27 failed</b></p><p><pre>"HTMLTableSectionElement27"
Call to assertTrue(boolean) with false

Stack trace follows:
> JsUnitException
> _assert
> assertTrue
> HTMLTableSectionElement27_runTest
> testHTMLTableSectionElement27
</pre></p><p class="jsUnitDefault"><b>61. http://bclary.com/dom-ts/dom-html-2-tests/HTMLTableSectionElement28.html:testHTMLTableSectionElement28 failed</b></p><p><pre>"HTMLTableSectionElement28"
Call to assertTrue(boolean) with false

Stack trace follows:
> JsUnitException
> _assert
> assertTrue
> HTMLTableSectionElement28_runTest
> testHTMLTableSectionElement28
</pre></p><p class="jsUnitDefault"><b>62. http://bclary.com/dom-ts/dom-html-2-tests/HTMLTableSectionElement29.html:testHTMLTableSectionElement29 failed</b></p><p><pre>"HTMLTableSectionElement29"
Call to assertTrue(boolean) with false

Stack trace follows:
> JsUnitException
> _assert
> assertTrue
> HTMLTableSectionElement29_runTest
> testHTMLTableSectionElement29
</pre></p></body></html>
createHTMLDocument01.xml (text/xml, 1.8 KB)
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>

<!--

Copyright (c) 2002 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.

-->
<!DOCTYPE test SYSTEM "dom2.dtd">
<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-2"
      name="createHTMLDocument01">
<metadata>
<title>createHTMLDocument01</title>
<creator>W3C</creator>
<description>
  The "createHTMLDocument(namespaceURI,qualifiedName,doctype)" method for a 
  DOMImplementation should raise NAMESPACE_ERR DOMException
  if parameter qualifiedName is malformed.
  
  Retrieve the DOMImplementation on from a Document.
  Invoke method createHTMLDocument(title) 
  on the retrieved HTMLDOMImplementation with title being
  the literal string "createHTMLDocument test".
</description>
<date qualifier="created">2002-06-21</date>
<subject resource="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#HTML-DOM-createHTMLDocument"/>
</metadata>
<var name="title" type="DOMString" value="&quot;createHTMLDocument test&quot;"/>
<var name="doc" type="HTMLDocument"/>
<var name="domImpl" type="HTMLDOMImplementation"/>
<var name="aNewDoc" type="HTMLDocument"/>
<load var="doc" href="anchor" willBeModified="false"/>
<implementation obj="doc" var="domImpl"/>
<createHTMLDocument obj="domImpl" var="aNewDoc" title="title"/>
<assertNotNull actual="aNewDoc" id="notnull"/>
</test>
createHTMLDocument02.xml (text/xml, 3.1 KB)
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>

<!--

Copyright (c) 2002 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.

-->
<!DOCTYPE test SYSTEM "dom2.dtd">
<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-2"
      name="createHTMLDocument02">
<metadata>
<title>createHTMLDocument02</title>
<creator>W3C</creator>
<description>
  The "createHTMLDocument(namespaceURI,qualifiedName,doctype)" method for a 
  DOMImplementation should raise NAMESPACE_ERR DOMException
  if parameter qualifiedName is malformed.
  
  Retrieve the DOMImplementation on from a Document.
  Invoke method createHTMLDocument(title) 
  on the retrieved HTMLDOMImplementation with title being
  the literal string "createHTMLDocument test".
  The structure of the newly created Document is checked. It must
  contain a HTML, with childrens HEAD with a TITLE, and BODY.
   
</description>
<date qualifier="created">2002-06-21</date>
<subject resource="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#HTML-DOM-createHTMLDocument"/>
</metadata>
<var name="title" type="DOMString" value="&quot;createHTMLDocument test&quot;"/>
<var name="doc" type="HTMLDocument"/>
<var name="domImpl" type="HTMLDOMImplementation"/>
<var name="aNewDoc" type="HTMLDocument"/>
<var name="htmlEl" type="HTMLElement"/>
<var name="headEl" type="HTMLElement"/>
<var name="titleEl" type="HTMLElement"/>
<var name="bodyEl" type="HTMLElement"/>
<var name="content" type="Text"/>
<var name="textContent" type="DOMString"/>
<var name="name" type="DOMString"/>
<load var="doc" href="anchor" willBeModified="false"/>
<implementation obj="doc" var="domImpl"/>
<createHTMLDocument obj="domImpl" var="aNewDoc" title="title"/>
<assertNotNull actual="aNewDoc" id="notnull"/>

<documentElement obj="aNewDoc" var="htmlEl"/>
<nodeName actual="htmlEl" expected="&quot;HTML&quot;" id="nodeName_HTML"
    ignoreCase="false" />

<!-- check HEAD and BODY -->
<firstChild obj='htmlEl' var='headEl'/>
<nodeName actual="headEl" expected="&quot;HEAD&quot;" id="nodeName_HEAD"
    ignoreCase="false" />
<nextSibling obj="nodeList" var="bodyEl"/>
<nodeName actual="bodyEl" expected="&quot;BODY&quot;" id="nodeName_BODY"
    ignoreCase="false" />

<!-- check TITLE in HEAD -->
<firstChild obj='headEl' var='titleEl'/>
<nodeName actual="titleEl" expected="&quot;TITLE&quot;" id="nodeName_TITLE"
    ignoreCase="false" />
<assertNotNull actual="titleEl" id="hasTitle"/>

<!-- check TITLE content -->
<firstChild obj='headEl' var='content'/>
<data obj='content' var='textContent'/>

<assertEquals actual="textContent"
    expected="&quot;createHTMLDocument test&quot;" id="throw_Equals"
    ignoreCase="false"/>

</test>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.