Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(136)

Unified Diff: ui/base/l10n/l10n_util_unittest.cc

Issue 971653005: Roll ICU to eda9e75b to add the Windows data dll (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix mo display name Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/base/l10n/l10n_util.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/l10n/l10n_util_unittest.cc
diff --git a/ui/base/l10n/l10n_util_unittest.cc b/ui/base/l10n/l10n_util_unittest.cc
index 6474740f2b2c4317486b9be8e17583cb54fbc0f9..43c9ad47213ca0f871826a99dc1cbf7e9d7336f2 100644
--- a/ui/base/l10n/l10n_util_unittest.cc
+++ b/ui/base/l10n/l10n_util_unittest.cc
@@ -453,6 +453,9 @@ TEST_F(L10nUtilTest, GetDisplayNameForLocale) {
result = l10n_util::GetDisplayNameForLocale("es-419", "en", false);
EXPECT_EQ(ASCIIToUTF16("Spanish (Latin America)"), result);
+ result = l10n_util::GetDisplayNameForLocale("mo", "en", false);
+ EXPECT_EQ(l10n_util::GetDisplayNameForLocale("ro-MD", "en", false), result);
+
result = l10n_util::GetDisplayNameForLocale("-BR", "en", false);
EXPECT_EQ(ASCIIToUTF16("Brazil"), result);
« no previous file with comments | « ui/base/l10n/l10n_util.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698