Home | History | Annotate | Download | only in i18n

Lines Matching defs:GetTextDirection

17 base::i18n::TextDirection GetTextDirection(const char* locale_name) {
197 TEST_F(RTLTest, GetTextDirection) {
198 EXPECT_EQ(base::i18n::RIGHT_TO_LEFT, GetTextDirection("ar"));
199 EXPECT_EQ(base::i18n::RIGHT_TO_LEFT, GetTextDirection("ar_EG"));
200 EXPECT_EQ(base::i18n::RIGHT_TO_LEFT, GetTextDirection("he"));
201 EXPECT_EQ(base::i18n::RIGHT_TO_LEFT, GetTextDirection("he_IL"));
203 EXPECT_EQ(base::i18n::RIGHT_TO_LEFT, GetTextDirection("iw"));
206 EXPECT_EQ(base::i18n::RIGHT_TO_LEFT, GetTextDirection("fa"));
207 EXPECT_EQ(base::i18n::RIGHT_TO_LEFT, GetTextDirection("ur"));
212 EXPECT_EQ(base::i18n::RIGHT_TO_LEFT, GetTextDirection("az_Arab"));
214 EXPECT_EQ(base::i18n::RIGHT_TO_LEFT, GetTextDirection("dv"));
216 EXPECT_EQ(base::i18n::LEFT_TO_RIGHT, GetTextDirection("en"));
218 EXPECT_EQ(base::i18n::LEFT_TO_RIGHT, GetTextDirection("zh-CN"));
220 EXPECT_EQ(base::i18n::LEFT_TO_RIGHT, GetTextDirection("fil"));
222 EXPECT_EQ(base::i18n::LEFT_TO_RIGHT, GetTextDirection("ru"));
224 EXPECT_EQ(base::i18n::LEFT_TO_RIGHT, GetTextDirection("ja"));