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

Re: [widgets] test suite, duplicated test

From: Marcos Caceres <marcosc@opera.com>
Date: Fri, 27 Nov 2009 21:17:35 +0100
Message-ID: <b21a10670911271217vaf47bf2j18bf9a15e251a4ee@mail.gmail.com>
To: "cyril.concolato" <cyril.concolato@telecom-paristech.fr>
Cc: public-webapps <public-webapps@w3.org>
On Fri, Nov 27, 2009 at 2:28 PM, Cyril Concolato
<cyril.concolato@enst.fr> wrote:
> Hi all,
>
> I noticed that the following two tests are the same (minimal config.xml).
> Maybe one of them should be removed or modified.

Yes, the content of both test's XML files is the same, but they are
testing different things (details below).

> http://dev.w3.org/2006/waf/widgets/test-suite/test-cases/ta-xGYcVTMoAX/000/ds.wgt

This one tests:
"Tests that the user agent correctly sets the configuration defaults.
To pass,
author email must be null,
author href must be null,
author name must be null,
feature list must be empty (null),
icons must be null,
start file encoding must be UTF-8,
start file content-type must be text/html,
widget config doc must be 'config.xml' at the root of the widget package,
widget description must be null,
widget height must be null,
widget id must be null,
widget license must be null,
widget license file must be null,
widget license href must be null,
widget name must be null,
widget preferences must be null,
widget short name must be null,
widget version must be null,
widget width must be null,
widget window modes must be an empty list,
widget start file must be index.htm at the root of the widget,
user agent locales must contain at least one item whose value is 'en'
"

> http://dev.w3.org/2006/waf/widgets/test-suite/test-cases/ta-MFcsScFEaC/000/d3.wgt
>

This one tests:
"Test the UA's ability to progress to Step 8 when it has nothing to
process inside the widget element.
To pass, the widget start file must be "index.htm""

Kind regards,
Marcos





-- 
Marcos Caceres
http://datadriven.com.au
Received on Friday, 27 November 2009 20:18:16 GMT

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