harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Liang <richard.lian...@gmail.com>
Subject Re: [testing] locale dependent tests
Date Wed, 26 Jul 2006 08:41:28 GMT

Tim Ellison wrote:
> On 25/07/06, Richard Liang <richard.liangyx@gmail.com> wrote:
> <snip>
>> Not sure what the "fake" hard-coded locale is. I used to set the default
>> locale to some particular one, e.g., en_US, but it seems that someone
>> (Tim) does not like the idea. :-)
> What I objected to was setting the locale to a specific value that
> made the tests pass even where the logic is locale-specific.  So, for
> example, if an application using the ru_RU locale would experience the
> problem that Alexey is seeing with the DecimalFormat, then the tests
> should use the default locale, and we (Harmony) get the benefit of a
> wide community of hetrogeneous testers.
> i.e. don't make all tests run on a uniform machine set-up -- let them
> be realistic.
Agree :-) Maybe we will two kinds of locale-related tests:
1) tests which should pass on any locale
2) tests which are intended to be executed in one particular locale, for 
these tests, we can restrict the default locale to a specific one.

Any comments? Thanks a lot.

Best regards,

> Regards,
> Tim

Richard Liang
China Software Development Lab, IBM 

Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org

View raw message