summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-10-28 04:34:01 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-10-28 04:34:01 +0000
commite23cb4aabce06b855e6270061a48d8c872218c38 (patch)
treebc7a88184201cfa9665a1c0a1ac0def0e8ef7727
parent2d506ea5df7d7acc7aa6d13db07b63fc2a4ed15c (diff)
parentd2ad744e930a855fbfa63e3f31f31bc391c37a50 (diff)
downloadlibcore-e23cb4aabce06b855e6270061a48d8c872218c38.zip
libcore-e23cb4aabce06b855e6270061a48d8c872218c38.tar.gz
libcore-e23cb4aabce06b855e6270061a48d8c872218c38.tar.bz2
am d2ad744e: Merge "Fix LocaleDataTest build breakage."
* commit 'd2ad744e930a855fbfa63e3f31f31bc391c37a50': Fix LocaleDataTest build breakage.
-rw-r--r--luni/src/test/java/libcore/icu/LocaleDataTest.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/luni/src/test/java/libcore/icu/LocaleDataTest.java b/luni/src/test/java/libcore/icu/LocaleDataTest.java
index 0a83c53..9ad6687 100644
--- a/luni/src/test/java/libcore/icu/LocaleDataTest.java
+++ b/luni/src/test/java/libcore/icu/LocaleDataTest.java
@@ -24,7 +24,7 @@ public class LocaleDataTest extends junit.framework.TestCase {
for (Locale l : Locale.getAvailableLocales()) {
LocaleData d = LocaleData.get(l);
// System.err.format("%20s %s %s %s\n", l, d.yesterday, d.today, d.tomorrow);
- // System.err.format("%20s %10s %10s\n", l, d.timeFormat12, d.timeFormat24);
+ // System.err.format("%20s %10s %10s\n", l, d.timeFormat_hm, d.timeFormat_Hm);
}
}
@@ -124,11 +124,11 @@ public class LocaleDataTest extends junit.framework.TestCase {
// http://b/7924970
public void testTimeFormat12And24() throws Exception {
LocaleData en_US = LocaleData.get(Locale.US);
- assertEquals("h:mm a", en_US.timeFormat12);
- assertEquals("HH:mm", en_US.timeFormat24);
+ assertEquals("h:mm a", en_US.timeFormat_hm);
+ assertEquals("HH:mm", en_US.timeFormat_Hm);
LocaleData ja_JP = LocaleData.get(Locale.JAPAN);
- assertEquals("aK:mm", ja_JP.timeFormat12);
- assertEquals("H:mm", ja_JP.timeFormat24);
+ assertEquals("aK:mm", ja_JP.timeFormat_hm);
+ assertEquals("H:mm", ja_JP.timeFormat_Hm);
}
}