]> granicus.if.org Git - icu/commitdiff
ICU-9581 Update ICU version to 50.1, update timebombs for #9156,#9490,#8982,ccldrbug3058
authorPeter Edberg <pedberg@unicode.org>
Fri, 12 Oct 2012 03:19:08 +0000 (03:19 +0000)
committerPeter Edberg <pedberg@unicode.org>
Fri, 12 Oct 2012 03:19:08 +0000 (03:19 +0000)
X-SVN-Rev: 32616

icu4c/source/common/unicode/uvernum.h
icu4c/source/data/misc/icuver.txt
icu4c/source/test/cintltst/cldrtest.c
icu4c/source/test/cintltst/cmsccoll.c
icu4c/source/test/cintltst/creststn.c
icu4c/source/test/intltest/ssearch.cpp

index ad5a3c186f96a64c03d32a2f4c2d999bd3115ec0..9e260139e817f9621ed5281ff4ee856afa7c7187 100644 (file)
  *  This value will change in the subsequent releases of ICU
  *  @stable ICU 2.6
  */
-#define U_ICU_VERSION_MINOR_NUM 0
+#define U_ICU_VERSION_MINOR_NUM 1
 
 /** The current ICU patchlevel version as an integer.  
  *  This value will change in the subsequent releases of ICU
  *  @stable ICU 2.4
  */
-#define U_ICU_VERSION_PATCHLEVEL_NUM 2
+#define U_ICU_VERSION_PATCHLEVEL_NUM 0
 
 /** The current ICU build level version as an integer.  
  *  This value is for use by ICU clients. It defaults to 0.
  *  This value will change in the subsequent releases of ICU
  *  @stable ICU 2.4
  */
-#define U_ICU_VERSION "50.0.2"
+#define U_ICU_VERSION "50.1"
 
 /** The current ICU library major/minor version as a string without dots, for library name suffixes. 
  *  This value will change in the subsequent releases of ICU
 /** Data version in ICU4C.
  * @internal ICU 4.4 Internal Use Only
  **/
-#define U_ICU_DATA_VERSION "50.0.2"
+#define U_ICU_DATA_VERSION "50.1"
 #endif  /* U_HIDE_INTERNAL_API */
 
 /*===========================================================================
index 64943dbd2c53dce7720e039d8c08b3e301c18c0c..e2e27487f85e5e4f75524de7251401e738dfc63e 100644 (file)
@@ -6,6 +6,6 @@
 // ***************************************************************************
 
 icuver:table(nofallback){ 
-    DataVersion { "50.0.1.0" }
-    ICUVersion  { "50.0.1.0" }
+    DataVersion { "50.1.0.0" }
+    ICUVersion  { "50.1.0.0" }
 }
index 86233e66959c30e55f149a948400bb7375916960..e4fdfe8d9d0c4521fe78994a3339f44e372157fb 100644 (file)
@@ -934,7 +934,7 @@ static void VerifyTranslation(void) {
             if (U_FAILURE(errorCode)) {
                 log_err("error uloc_getDisplayCountry returned %s\n", u_errorName(errorCode));
             }
-            else if (uprv_strstr(currLoc, "ti_") != currLoc || isICUVersionAtLeast(50, 1, 0)) { /* TODO: restore DisplayCountry test for ti_* when cldrbug 3058 is fixed) */
+            else if (uprv_strstr(currLoc, "ti_") != currLoc || isICUVersionAtLeast(51, 0, 0)) { /* TODO: restore DisplayCountry test for ti_* when cldrbug 3058 is fixed) */
               strIdx = findStringSetMismatch(currLoc, langBuffer, langSize, exemplarCharacters, exemplarLen, FALSE, &badChar);
                 if (strIdx >= 0) {
                     log_err("getDisplayCountry(%s) at index %d returned characters not in the exemplar characters: %04X.\n",
index 93c0d75cba6dc9eea53bbddd159cfc6ed807924f..9a0f5bc7e801f04b2432c4fe93a65b0a5115da83 100644 (file)
@@ -5172,7 +5172,7 @@ TestTailor6179(void)
         }
         log_err("\n");
     }
-if(isICUVersionAtLeast(50, 1, 0)) {  /* TODO: debug & fix, see ticket #8982 */
+if(isICUVersionAtLeast(51, 1, 0)) {  /* TODO: debug & fix, see ticket #8982 */
     tLen = u_strlen(tData2[1]);
     rLen = ucol_getSortKey(coll, tData2[1], tLen, resColl, 100);
     if (rLen != LEN(firstSecondaryIgnCE) || uprv_memcmp(resColl, firstSecondaryIgnCE, rLen) != 0) {
index af581f58139657e58c70d1a1d2aaf095b7977a9e..8f04f4c2d06d9517d378d5957caf8867b0564cac 100644 (file)
@@ -281,7 +281,7 @@ static void TestErrorCodes(void) {
 
   /* we look up the resource which is aliased and at our level */
   /* TODO: restore the following test when cldrbug 3058: is fixed */
-  if(U_SUCCESS(status) && r != NULL && isICUVersionAtLeast(50, 1, 0)) {
+  if(U_SUCCESS(status) && r != NULL && isICUVersionAtLeast(51, 0, 0)) {
     status = U_USING_DEFAULT_WARNING;
     r2 = ures_getByKey(r, "Countries", r2, &status);
     checkStatus(__LINE__, U_USING_DEFAULT_WARNING, status);
index 85fb1bff7b64db5fc36b146ae2becf97d37aa85e..deb43a7c94a72a88c686528077a9abbd4fe6c030 100644 (file)
@@ -980,8 +980,8 @@ void SSearchTest::offsetTest()
     col->setAttribute(UCOL_NORMALIZATION_MODE, UCOL_ON, status);
 
     for(int32_t i = 0; i < testCount; i += 1) {
-        if (!isICUVersionAtLeast(50, 1) && i>=4 && i<=6) {
-            continue; // timebomb until ticket #8080 is resolved
+        if (!isICUVersionAtLeast(51, 1) && i>=4 && i<=6) {
+            continue; // timebomb until ticket #9156 (was #8081) is resolved
         }
         UnicodeString ts = CharsToUnicodeString(test[i]);
         CollationElementIterator *iter = col->createCollationElementIterator(ts);
@@ -2414,12 +2414,12 @@ void SSearchTest::bmMonkeyTest(char *params)
         CollData *data = CollData::open(coll, status);
 
         UnicodeSet skipSet;
-        if(isICUVersionBefore(50, 1)) {
-            // timebomb until ticket #8080 is resolved
+        if(isICUVersionBefore(51, 1)) {
+            // timebomb until ticket #9156 (was #8081) is resolved
             UnicodeString skipString(skipChars);
             skipSet.addAll(skipString);
         }
-        if(isICUVersionBefore(51, 0)) {
+        if(isICUVersionBefore(51, 1)) {
             // Time bomb until ticket #9490 is fixed.
             skipSet.add(0x12327);
             skipSet.add(0x1311b);