mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-17 02:37:25 +00:00
ICU-7027 Build target timeZoneCheck to run all test for TestTimeZoneRoundTrip too.
X-SVN-Rev: 27689
This commit is contained in:
parent
2c52e2a9f4
commit
a6b45a6e9b
1 changed files with 4 additions and 2 deletions
|
@ -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")};
|
||||
|
|
Loading…
Add table
Reference in a new issue