summaryrefslogtreecommitdiff
path: root/icu4j/main
diff options
context:
space:
mode:
authorFredrik Roubert <roubert@google.com>2016-07-04 19:40:37 +0200
committerFredrik Roubert <roubert@google.com>2018-05-31 16:40:01 -0700
commite2af0405984a02a6c65fb56318541265c8d8ce0a (patch)
treea80584484d1bb2355934c7d1bfce3eaf59ab823e /icu4j/main
parenta679be1263f240c4a3b8608b6b9acbc2d03f24cb (diff)
downloadicu-e2af0405984a02a6c65fb56318541265c8d8ce0a.tar.gz
Android patch: CLDR data: Add data for the XA/XB pseudo locales.
Change-Id: I4167f1442ddc68151ee02598bf051eccda1b1c04
Diffstat (limited to 'icu4j/main')
-rw-r--r--icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ICUResourceBundleTest.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ICUResourceBundleTest.java b/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ICUResourceBundleTest.java
index 6294f0ec2..7c6a29652 100644
--- a/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ICUResourceBundleTest.java
+++ b/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ICUResourceBundleTest.java
@@ -718,7 +718,12 @@ public final class ICUResourceBundleTest extends TestFmwk {
}
for (int i = 0; i < locales.length; ++i) {
- if (!hasLocalizedCountryFor(ULocale.ENGLISH, locales[i])){
+ if (!hasLocalizedCountryFor(ULocale.ENGLISH, locales[i])
+ && (locales[i].getLanguage().compareTo("ti") != 0) // TODO: restore test for ti_* when cldrbug 3058 is fixed
+ // Android patch begin.
+ && (locales[i].getBaseName().compareTo("en_XA") != 0)
+ && (locales[i].getBaseName().compareTo("ar_XB") != 0)){
+ // Android patch end.
errln("Could not get English localized country for " + locales[i]);
}
if(!hasLocalizedLanguageFor(ULocale.ENGLISH, locales[i])){