Home
last modified time | relevance | path

Searched refs:NormalizeLanguageCode (Results 1 – 3 of 3) sorted by relevance

/external/chromium/chrome/browser/chromeos/input_method/
Dinput_method_util_unittest.cc54 TEST_F(InputMethodUtilTest, NormalizeLanguageCode) { in TEST_F() argument
56 EXPECT_EQ("ja", NormalizeLanguageCode("ja")); in TEST_F()
57 EXPECT_EQ("ja", NormalizeLanguageCode("jpn")); in TEST_F()
61 EXPECT_EQ("t", NormalizeLanguageCode("t")); in TEST_F()
62 EXPECT_EQ("zh-CN", NormalizeLanguageCode("zh-CN")); in TEST_F()
63 EXPECT_EQ("zh-CN", NormalizeLanguageCode("zh_CN")); in TEST_F()
64 EXPECT_EQ("en-US", NormalizeLanguageCode("EN_us")); in TEST_F()
66 EXPECT_EQ("es-419", NormalizeLanguageCode("es_419")); in TEST_F()
69 EXPECT_EQ("cs", NormalizeLanguageCode("cze")); in TEST_F()
70 EXPECT_EQ("de", NormalizeLanguageCode("ger")); in TEST_F()
[all …]
Dinput_method_util.h61 std::string NormalizeLanguageCode(const std::string& language_code);
Dinput_method_util.cc401 std::string NormalizeLanguageCode( in NormalizeLanguageCode() function
460 std::string language_code = NormalizeLanguageCode(descriptor.language_code); in GetLanguageCodeFromDescriptor()