mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-14 09:21:03 +00:00
ICU-13359 Skip even more DateFormatRoundTripTest::TestDateFormatRoundTrip exhaustive cases for known issue #13366
X-SVN-Rev: 40479
This commit is contained in:
parent
884bd3713c
commit
da416aaf80
1 changed files with 7 additions and 1 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Reference in a new issue