[widgets] progress on i18n tests

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 UTC