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

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 UTC