W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2010

[widgets] progress on i18n tests

From: Scott Wilson <scott.bradley.wilson@gmail.com>
Date: Thu, 23 Sep 2010 15:55:17 +0100
Message-Id: <B04EE557-5685-4F27-BAF9-8709F28973D0@gmail.com>
To: public-webapps WG <public-webapps@w3.org>
I've been having a go at implementing the various i18n test cases in Apache Wookie. I'm planning on processing them in two ways:

1. For the parser, checking the correct values are being persisted for text direction, both for the element's dir attributes where allowed, and also that <span dir="xxx"> tags are preserved in content where allowed.
2. For the server, checking the information is rendered OK in the admin interface.

Its a bit of an unusual case as Wookie doesn't tend to render the widget metadata directly to users itself, but instead provides it to the container via an API where it can be rendered (e.g. in widget galleries), hence I'll be testing how the admin interface renders it - the metadata itself should be OK as long as the parser is extracting the metadata correctly.

Anyway, its progressing OK on the parser front, just a couple of minor test issues so far, e.g. tests i18n-023 uses "test.png" instead of "pass.png". I've put automated testing in for around 60% of the test cases now.

I don't know how long it will take to develop some unit tests to cover the server, I'll take a look at that next week sometime.

S
Received on Thursday, 23 September 2010 14:55:55 GMT

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