[widget] Fixed some tests in Widget Interface test suite

The following tests have been fixed in the widget interface TS... and 
also in the P&C test suite (indicated below).

1. i18nrlo02
Tests that RLO direction applies to the name element's short attribute.
This test is test case for direction of short name.
But there was no short name in the config.xml

http://dev.w3.org/2006/waf/widgets-api/test-suite/test-cases/i18n-rlo/002/i18nrlo02.wgt


2. i18nltr37 (fixed for P&C also)
This test is test case for direction of email attribute.
Config.xml : <author email="The arrow should point right -->" dir="ltr" />
but hook.js said propEquals("authorEmail", "PASS");

http://dev.w3.org/2006/waf/widgets-api/test-suite/test-cases/i18n-ltr/037/i18nltr37.wgt

3. i18nrlo44 (fixed for P&C also)
Config.xml : <name>SSAP</name> -> apply by rlo : PASS
Hook.js : propEquals("name", "\u202EPASS\u202C"); -> 
"\u202EPASS\u202C");  is "SSAP". This has now been corrected.

http://dev.w3.org/2006/waf/widgets-api/test-suite/test-cases/i18n-rlo/044/i18nrlo44.wgt

-- 
Marcos Caceres
Opera Software

Received on Tuesday, 22 March 2011 20:43:02 UTC