From: Peter Edberg Date: Wed, 27 Sep 2017 14:10:33 +0000 (+0000) Subject: ICU-13359 Skip even more DateFormatRoundTripTest::TestDateFormatRoundTrip exhaustive... X-Git-Tag: release-60-rc~105 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=da416aaf8061e9fcdeffb49a4eb78649ee3df4b3;p=icu ICU-13359 Skip even more DateFormatRoundTripTest::TestDateFormatRoundTrip exhaustive cases for known issue #13366 X-SVN-Rev: 40479 --- diff --git a/icu4c/source/test/intltest/dtfmtrtts.cpp b/icu4c/source/test/intltest/dtfmtrtts.cpp index 6d4b76da925..b1cbf400715 100644 --- a/icu4c/source/test/intltest/dtfmtrtts.cpp +++ b/icu4c/source/test/intltest/dtfmtrtts.cpp @@ -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));