Lines Matching refs:locale

90  * @tc.desc: Call "NewJSIntlIcuData" function Set locale IcuField,check whether the locale IcuField through
100 JSHandle<JSLocale> locale =
104 factory->NewJSIntlIcuData(locale, icuLocale, JSLocale::FreeIcuLocale);
107 icu::Locale *result = locale->GetIcuLocale();
318 * @tc.desc: Call "CheckLocales" function check wether language is correct from locale libraries obtained
368 * @tc.desc: Call "IsWellCalendar" function judge whether the calendar is well from locale.
384 * @tc.desc: Call "IsWellCollation" function judge whether the collation is well from locale.
536 EXPECT_STREQ("en-US", result.locale.c_str()); // default locale
551 * @tc.desc: Resolve Locale and return from available locale through "ResolveLocale" function.
565 EXPECT_STREQ("id-u-ca-gregory-co-pinyin-de-id", result.locale.c_str());
568 EXPECT_STREQ("id-u-ca-gregory-co-pinyin-de-id", result.locale.c_str());
571 EXPECT_STREQ("id-u-ca-gregory-co-pinyin-de-id", result.locale.c_str());
576 EXPECT_STREQ("en-u-ca-ethioaa-co-phonebk", result.locale.c_str());
579 EXPECT_STREQ("en-u-ca-ethioaa-co-phonebk", result.locale.c_str());
582 EXPECT_STREQ("en-u-ca-ethioaa-co-phonebk", result.locale.c_str());
595 EXPECT_STREQ("id-u-de-id-kf-kn-false", result.locale.c_str());
598 EXPECT_STREQ("id-u-de-id-kf-kn-false", result.locale.c_str());
601 EXPECT_STREQ("id-u-de-id-kf-kn-false", result.locale.c_str());
606 EXPECT_STREQ("en-US-u-hc-h24-lb-strict", result.locale.c_str());
609 EXPECT_STREQ("en-US-u-hc-h24-lb-strict", result.locale.c_str());
612 EXPECT_STREQ("en-US-u-hc-h24-lb-strict", result.locale.c_str());