re: oleaut32 2/2: [RESEND] Conformance test for varformat:VarWeekdayName
Alexandre wrote:
How will this test work in non-English locales?
How about if it calls SetThreadLocale(LOCALE_INVARIANT)?
"Dan Kegel" <dank(a)kegel.com> writes:
Alexandre wrote:
How will this test work in non-English locales?
How about if it calls SetThreadLocale(LOCALE_INVARIANT)?
It's probably better to really make the test locale-dependent, so that the behavior gets tested in different locales. Of course you can also test both cases. -- Alexandre Julliard julliard(a)winehq.org
I looked up the code pages for English and Russian. Obviously, I get "Monday" for English but for Russian the same day is "ïîíåäåëüíèê". I don't see how this can me made locale dependent. I would have to make a table for each of the locales to test them. LOCALE_INVARIANT flag is not implemented in Wine. Regardless, I don't think LOCALE_INVARIANT will work either because it only accounts for special composition of characters and not translation. The other tests in the On 9/27/06, Alexandre Julliard <julliard(a)winehq.org> wrote:
"Dan Kegel" <dank(a)kegel.com> writes:
Alexandre wrote:
How will this test work in non-English locales?
How about if it calls SetThreadLocale(LOCALE_INVARIANT)?
It's probably better to really make the test locale-dependent, so that the behavior gets tested in different locales. Of course you can also test both cases.
-- Alexandre Julliard julliard(a)winehq.org
-- Benjamin Arai http://www.benjaminarai.com
participants (3)
-
Alexandre Julliard -
Benjamin Arai -
Dan Kegel