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

Re: [widgets] Test suite: problem with test cases

From: Marcos Caceres <marcosc@opera.com>
Date: Wed, 18 Nov 2009 13:02:12 +0100
Message-ID: <b21a10670911180402h6a3b1727tefbfc50327e8a32d@mail.gmail.com>
To: Scott Wilson <scott.bradley.wilson@gmail.com>
Cc: public-webapps WG <public-webapps@w3.org>
2009/11/14 Scott Wilson <scott.bradley.wilson@gmail.com>:
> 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!
>

Awesome.

> 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>

woops, fixed.

> Assertion 34: Test d7, d8
> ===================
> These test cases both contain badly-formed XML:
>
> <widget>
>  <content>
> </widget>
> Presumably these ought to be:
>
> <widget>
>  <content/>
> </widget>

Fixed and checked in.



-- 
Marcos Caceres
http://datadriven.com.au
Received on Wednesday, 18 November 2009 12:02:41 GMT

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