提交 6bfa7ade 编写于 作者: A aefimov

8025051: Update resource files for TimeZone display names

Reviewed-by: okutsu, mfang
上级 a3883617
...@@ -32,10 +32,7 @@ ...@@ -32,10 +32,7 @@
STATUS=0 STATUS=0
echo "Locale providers: default" echo "Locale providers: default"
# TODO: The purpose of ja-JP is to make sure the fallback for generic if ! ${TESTJAVA}/bin/java -esa ${TESTVMOPTS} -cp "${TESTCLASSES}" GenericTimeZoneNamesTest en-US; then
# names works. Remove ja-JP when adding generic names to localized
# resources.
if ! ${TESTJAVA}/bin/java -esa ${TESTVMOPTS} -cp "${TESTCLASSES}" GenericTimeZoneNamesTest en-US ja-JP; then
STATUS=1 STATUS=1
fi fi
......
...@@ -130,12 +130,12 @@ public class Bug6317929 { ...@@ -130,12 +130,12 @@ public class Bug6317929 {
"(New South Wales)\""); "(New South Wales)\"");
tzLocale = locales2Test[1]; tzLocale = locales2Test[1];
if (!Currie.getDisplayName(false, TimeZone.LONG, tzLocale).equals if (!Currie.getDisplayName(false, TimeZone.LONG, tzLocale).equals
("Eastern Normalzeit (Neus\u00fcdwales)")) ("\u00D6stliche Normalzeit (New South Wales)"))
throw new RuntimeException("\n" + tzLocale + ": LONG, " + throw new RuntimeException("\n" + tzLocale + ": LONG, " +
"non-daylight saving name for " + "non-daylight saving name for " +
"Australia/Currie should be " + "Australia/Currie should be " +
"\"Eastern Normalzeit " + "\"\u00D6stliche Normalzeit " +
"(Neus\u00fcdwales)\""); "(New South Wales)\"");
tzLocale = locales2Test[2]; tzLocale = locales2Test[2];
if (!Currie.getDisplayName(false, TimeZone.LONG, tzLocale).equals if (!Currie.getDisplayName(false, TimeZone.LONG, tzLocale).equals
("Hora est\u00e1ndar Oriental (Nueva Gales del Sur)")) ("Hora est\u00e1ndar Oriental (Nueva Gales del Sur)"))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册