Home
last modified time | relevance | path

Searched refs:numberAvailableLocales (Results 1 - 1 of 1) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/tests/
H A Dlocale_helper_test.cpp296 std::vector<std::string> numberAvailableLocales = in HWTEST_F_L0() local
301 EXPECT_STREQ(LocaleHelper::BestAvailableLocale(numberAvailableLocales, "ar-001").c_str(), "ar-001"); in HWTEST_F_L0()
305 EXPECT_STREQ(LocaleHelper::BestAvailableLocale(numberAvailableLocales, "agq-CM").c_str(), "agq-CM"); in HWTEST_F_L0()
309 EXPECT_STREQ(LocaleHelper::BestAvailableLocale(numberAvailableLocales, "und-CN").c_str(), ""); in HWTEST_F_L0()
313 EXPECT_STREQ(LocaleHelper::BestAvailableLocale(numberAvailableLocales, "en-001").c_str(), "en-001"); in HWTEST_F_L0()
317 EXPECT_STREQ(LocaleHelper::BestAvailableLocale(numberAvailableLocales, "en-Hans-US").c_str(), "en"); in HWTEST_F_L0()

Completed in 2 milliseconds