]> granicus.if.org Git - icu/commitdiff
ICU-13359 Skip even more DateFormatRoundTripTest::TestDateFormatRoundTrip exhaustive...
authorPeter Edberg <pedberg@unicode.org>
Wed, 27 Sep 2017 14:10:33 +0000 (14:10 +0000)
committerPeter Edberg <pedberg@unicode.org>
Wed, 27 Sep 2017 14:10:33 +0000 (14:10 +0000)
X-SVN-Rev: 40479

icu4c/source/test/intltest/dtfmtrtts.cpp

index 6d4b76da92515af55012c394582125c6d210d041..b1cbf400715d144f25b63ce79f86b5442ed8b059 100644 (file)
@@ -236,6 +236,9 @@ void DateFormatRoundTripTest::test(const Locale& loc)
     int32_t style = 0;
     for(style = DateFormat::FULL; style <= DateFormat::SHORT; ++style) {
         if(TEST_TABLE[itable++]) {
+            if (uprv_strcmp(loc.getLanguage(),"ccp")==0 && style==DateFormat::MEDIUM && logKnownIssue("13366", "Skip handling ccp until DateFormat parsing is fixed")) {
+                continue;
+            }
             logln("Testing style " + UnicodeString(styleName((DateFormat::EStyle)style)));
             DateFormat *df = DateFormat::createDateInstance((DateFormat::EStyle)style, loc);
             if(df == NULL) {
@@ -249,7 +252,10 @@ void DateFormatRoundTripTest::test(const Locale& loc)
     
     for(style = DateFormat::FULL; style <= DateFormat::SHORT; ++style) {
         if (TEST_TABLE[itable++]) {
-          logln("Testing style " + UnicodeString(styleName((DateFormat::EStyle)style)));
+            if (uprv_strcmp(loc.getLanguage(),"ccp")==0 && style==DateFormat::FULL && logKnownIssue("13366", "Skip handling ccp until DateFormat parsing is fixed")) {
+                continue;
+            }
+            logln("Testing style " + UnicodeString(styleName((DateFormat::EStyle)style)));
             DateFormat *df = DateFormat::createTimeInstance((DateFormat::EStyle)style, loc);
             if(df == NULL) {
               errln(UnicodeString("Could not DF::createTimeInstance ") + UnicodeString(styleName((DateFormat::EStyle)style)) + " Locale: " + loc.getDisplayName(temp));