You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by Justin Mclean <ju...@classsoftware.com> on 2012/12/18 06:49:58 UTC

Apache 4.9 checkin tests and different locales

Hi,

I'm getting some variable results with the checkin tests and different locales (on OSX).

Run into 2 issues so far:
1. DateFieldTest fails for non english locales, I assume this is because the month names are not in english. However it does pass for ja_JP. 

Does mustella have the concept of different screen shots for different locales when needed? I certainly don't want to have to make a baseline for every locale when 99% of the tests appear the same.

2. Alert popup test, the popup stay around and isn't dismissed. Strangely this happens for the en_GB locale but not the en_AU locale (which passes all tests). I assume it's just missing clicking the OK button but can't see why it would be different between those 2 locales.

Do we think the above issues are enough to vote down the ApacheFlex RC4?

Thanks,
Justin

Re: Apache 4.9 checkin tests and different locales

Posted by Justin Mclean <ju...@classsoftware.com>.
Hi,

> I'm not sure you can run checkintests and mustella with different locales.
> The number of baselines would become unmanageable.
Could we modify it along the lines of if locale version exists compare with that otherwise use the default (en_US)?

> I think we can continue on with RC4. We just need to consider how to explain
> what we are "certifying".
It's quite unlikely that a resource file change could cause any major issue with the SDK, so IMO for this release if it compiles and can run the checkin tests (even if a few fail) it's good enough for now.

Thanks,
Justin

Re: Apache 4.9 checkin tests and different locales

Posted by Carol Frampton <cf...@adobe.com>.

On 12/18/12 1 :13AM, "Alex Harui" <ah...@adobe.com> wrote:

>I'm not sure you can run checkintests and mustella with different locales.
>The number of baselines would become unmanageable.
>
>I think there are some locale specific tests in mustella/tests/LangPacks,
>but I don't know how well they work.  I believe they are excluded in
>mustella/properties/mustella.properties and you can unexclude the one for
>your locale by editing that file.

or you can run the tests in the mustella/tests/LangPacks directory with
./mini_run.sh -skipExclude and it ignores whatever files are in the
excludes file

Carol


Re: Apache 4.9 checkin tests and different locales

Posted by Alex Harui <ah...@adobe.com>.
I'm not sure you can run checkintests and mustella with different locales.
The number of baselines would become unmanageable.

I think there are some locale specific tests in mustella/tests/LangPacks,
but I don't know how well they work.  I believe they are excluded in
mustella/properties/mustella.properties and you can unexclude the one for
your locale by editing that file.

I think we can continue on with RC4. We just need to consider how to explain
what we are "certifying".

You can stick the basictests.swf in the debugger and find out why it misses
the OK button.

On 12/17/12 9:49 PM, "Justin Mclean" <ju...@classsoftware.com> wrote:

> Hi,
> 
> I'm getting some variable results with the checkin tests and different locales
> (on OSX).
> 
> Run into 2 issues so far:
> 1. DateFieldTest fails for non english locales, I assume this is because the
> month names are not in english. However it does pass for ja_JP.
> 
> Does mustella have the concept of different screen shots for different locales
> when needed? I certainly don't want to have to make a baseline for every
> locale when 99% of the tests appear the same.
> 
> 2. Alert popup test, the popup stay around and isn't dismissed. Strangely this
> happens for the en_GB locale but not the en_AU locale (which passes all
> tests). I assume it's just missing clicking the OK button but can't see why it
> would be different between those 2 locales.
> 
> Do we think the above issues are enough to vote down the ApacheFlex RC4?
> 
> Thanks,
> Justin

-- 
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui