[widgets] Test suite: problem with test cases

I've added the tests to Apache Wookie as JUnit tests that directly  
load the test .wgt's from the SVN - so far so good!

However testing has revealed a few possible bugs in the test cases:

Assertion 14: Test AY
================
"Test the UA's ability process the height attribute. To pass, the  
widget height must be the value "0" (the value is composed of  
characters)."

Widget config.xml:

<widget xmlns="http://www.w3.org/ns/widgets" height="1234">
<name>ay</name>
</widget>
This has probably got mixed up with another test widget; I imagine it  
should work the same way as test case 15: c9 and should be:

<widget xmlns="http://www.w3.org/ns/widgets" height="ABC">
<name>ay</name>
</widget>

Assertion 34: Test d7, d8
===================
These test cases both contain badly-formed XML:

<widget>
   <content>
</widget>
Presumably these ought to be:

<widget>
   <content/>
</widget>
-S

Received on Saturday, 14 November 2009 17:33:05 UTC