W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2009

[widgets] Test suite: problem with test cases

From: Scott Wilson <scott.bradley.wilson@gmail.com>
Date: Sat, 14 Nov 2009 17:32:27 +0000
Message-Id: <BDE662E6-1775-4E1B-909D-DE9804CB8889@gmail.com>
To: public-webapps WG <public-webapps@w3.org>
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:35 GMT