mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-14 17:24:01 +00:00
ICU-6991 Modified last revision to actually include test.
X-SVN-Rev: 26612
This commit is contained in:
parent
de02af8d27
commit
96f031263f
2 changed files with 9 additions and 1 deletions
|
@ -407,11 +407,13 @@ CalendarTest::TestGenericAPI()
|
|||
errln("Calendar is suppose to return 0 for getActualMinimum");
|
||||
}
|
||||
|
||||
cal->roll(Calendar::SECOND, 0, status);
|
||||
Calendar *cal3 = Calendar::createInstance(status);
|
||||
cal3->roll(Calendar::SECOND, 0, status);
|
||||
if (failure(status, "Calendar::roll(EDateFields, int32_t, UErrorCode)")) return;
|
||||
|
||||
delete cal;
|
||||
delete cal2;
|
||||
delete cal3;
|
||||
|
||||
int32_t count;
|
||||
const Locale* loc = Calendar::getAvailableLocales(count);
|
||||
|
|
|
@ -48,6 +48,12 @@ void IntlTestDecimalFormatAPI::runIndexedTest( int32_t index, UBool exec, const
|
|||
testRoundingInc(/*par*/);
|
||||
}
|
||||
break;
|
||||
case 3: name = "TestCurrencyPluralInfo";
|
||||
if(exec) {
|
||||
logln((UnicodeString)"CurrencyPluralInfo API test---");
|
||||
TestCurrencyPluralInfo();
|
||||
}
|
||||
break;
|
||||
default: name = ""; break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue