From 27c7ccf73bdda4bcdd6fb4036fa349f547aa8dc5 Mon Sep 17 00:00:00 2001 From: Eric Mader Date: Wed, 28 Jun 2006 19:21:43 +0000 Subject: [PATCH] ICU-5247 Change timebomb to ICU 3.7 - localPatternChars is deprecated in CLDR and won't be updated. X-SVN-Rev: 19777 --- icu4c/source/test/cintltst/cldrtest.c | 4 ++-- icu4c/source/test/intltest/dtfmttst.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/icu4c/source/test/cintltst/cldrtest.c b/icu4c/source/test/cintltst/cldrtest.c index ebafe5dc6a..84b3f77a5d 100644 --- a/icu4c/source/test/cintltst/cldrtest.c +++ b/icu4c/source/test/cintltst/cldrtest.c @@ -20,7 +20,7 @@ Time bomb - allows temporary behavior that expires at a given release ---------------------------------------------------------------------*/ -static const UVersionInfo ICU_36 = {3,6,0,0}; +static const UVersionInfo ICU_37 = {3,7,0,0}; /* returns a new UnicodeSet that is a flattened form of the original @@ -310,7 +310,7 @@ TestKeyInRootRecursive(UResourceBundle *root, const char *rootName, ures_getKey(currentBundle), locale); } else if (strcmp(subBundleKey, "localPatternChars") == 0 && - isICUVersionAtLeast(ICU_36)) { + isICUVersionAtLeast(ICU_37)) { /* Check well-formedness of localPatternChars. First, the * length must match the number of fields defined by * DateFormat. Second, each character in the string must diff --git a/icu4c/source/test/intltest/dtfmttst.cpp b/icu4c/source/test/intltest/dtfmttst.cpp index d726c8276c..5c28802994 100644 --- a/icu4c/source/test/intltest/dtfmttst.cpp +++ b/icu4c/source/test/intltest/dtfmttst.cpp @@ -30,7 +30,7 @@ // Time bomb - allows temporary behavior that expires at a given // release //-------------------------------------------------------------------- -static const UVersionInfo ICU_36 = {3,6,0,0}; +static const UVersionInfo ICU_37 = {3,7,0,0}; // ***************************************************************************** // class DateFormatTest @@ -323,7 +323,7 @@ void DateFormatTest::TestFieldPosition() { // local pattern chars not accurate when CLDR 1.4 data // first introduced... - if(isICUVersionAtLeast(ICU_36)) { + if(isICUVersionAtLeast(ICU_37)) { assertEquals("patternChars", PATTERN_CHARS, rootSyms.getLocalPatternChars(buf)); }