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

8025051: Update resource files for TimeZone display names

Reviewed-by: okutsu, mfang
上级 a3883617
......@@ -32,10 +32,7 @@
STATUS=0
echo "Locale providers: default"
# TODO: The purpose of ja-JP is to make sure the fallback for generic
# 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
if ! ${TESTJAVA}/bin/java -esa ${TESTVMOPTS} -cp "${TESTCLASSES}" GenericTimeZoneNamesTest en-US; then
STATUS=1
fi
......
......@@ -130,12 +130,12 @@ public class Bug6317929 {
"(New South Wales)\"");
tzLocale = locales2Test[1];
if (!Currie.getDisplayName(false, TimeZone.LONG, tzLocale).equals
("Eastern Normalzeit (Neus\u00fcdwales)"))
("\u00D6stliche Normalzeit (New South Wales)"))
throw new RuntimeException("\n" + tzLocale + ": LONG, " +
"non-daylight saving name for " +
"Australia/Currie should be " +
"\"Eastern Normalzeit " +
"(Neus\u00fcdwales)\"");
"\"\u00D6stliche Normalzeit " +
"(New South Wales)\"");
tzLocale = locales2Test[2];
if (!Currie.getDisplayName(false, TimeZone.LONG, tzLocale).equals
("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.
先完成此消息的编辑!
想要评论请 注册