ICU-7027 Build target timeZoneCheck to run all test for TestTimeZoneRoundTrip too.

X-SVN-Rev: 27689
This commit is contained in:
Yoshito Umaoka 2010-02-25 23:13:42 +00:00
parent 2c52e2a9f4
commit a6b45a6e9b

View file

@ -1,6 +1,6 @@
/*
********************************************************************************
* Copyright (C) 2007-2009, Google, International Business Machines Corporation *
* Copyright (C) 2007-2010, Google, International Business Machines Corporation *
* and others. All Rights Reserved. *
********************************************************************************
*/
@ -33,6 +33,8 @@ public class TimeZoneFormatTest extends com.ibm.icu.dev.test.TestFmwk {
* and if the result TimeZone has the expected behavior.
*/
public void TestTimeZoneRoundTrip() {
boolean TEST_ALL = "true".equalsIgnoreCase(getProperty("TimeZoneRoundTripAll"));
TimeZone unknownZone = new SimpleTimeZone(-31415, "Etc/Unknown");
int badDstOffset = -1234;
int badZoneOffset = -2345;
@ -66,7 +68,7 @@ public class TimeZoneFormatTest extends com.ibm.icu.dev.test.TestFmwk {
// Set up test locales
ULocale[] LOCALES = null;
if (getInclusion() > 5) {
if (TEST_ALL || getInclusion() > 5) {
LOCALES = ULocale.getAvailableLocales();
} else {
LOCALES = new ULocale[] {new ULocale("en"), new ULocale("en_CA"), new ULocale("fr"), new ULocale("zh_Hant")};