TEST_ASSERT_MSG((expectedSet.size() > 1) == mixedNumberFailure, msgBuf);
const UnicodeSet* actualSet = UnicodeSet::fromUSet(uspoof_getCheckResultNumerics(checkResult, &status));
TEST_ASSERT_MSG(expectedSet == *actualSet, msgBuf);
- TEST_TEARDOWN
+ TEST_TEARDOWN;
}
}
MessageFormatRegressionTest::runIndexedTest( int32_t index, UBool exec, const char* &name, char* /*par*/ )
{
TESTCASE_AUTO_BEGIN;
- TESTCASE_AUTO(Test4074764)
+ TESTCASE_AUTO(Test4074764);
//TESTCASE_AUTO(Test4058973) -- disabled/obsolete in ICU 4.8
- TESTCASE_AUTO(Test4031438)
- TESTCASE_AUTO(Test4052223)
- TESTCASE_AUTO(Test4104976)
- TESTCASE_AUTO(Test4106659)
- TESTCASE_AUTO(Test4106660)
- TESTCASE_AUTO(Test4111739)
- TESTCASE_AUTO(Test4114743)
- TESTCASE_AUTO(Test4116444)
- TESTCASE_AUTO(Test4114739)
- TESTCASE_AUTO(Test4113018)
- TESTCASE_AUTO(Test4106661)
- TESTCASE_AUTO(Test4094906)
- TESTCASE_AUTO(Test4118592)
- TESTCASE_AUTO(Test4118594)
- TESTCASE_AUTO(Test4105380)
- TESTCASE_AUTO(Test4120552)
- TESTCASE_AUTO(Test4142938)
- TESTCASE_AUTO(TestChoicePatternQuote)
- TESTCASE_AUTO(Test4112104)
- TESTCASE_AUTO(TestICU12584)
- TESTCASE_AUTO(TestAPI)
+ TESTCASE_AUTO(Test4031438);
+ TESTCASE_AUTO(Test4052223);
+ TESTCASE_AUTO(Test4104976);
+ TESTCASE_AUTO(Test4106659);
+ TESTCASE_AUTO(Test4106660);
+ TESTCASE_AUTO(Test4111739);
+ TESTCASE_AUTO(Test4114743);
+ TESTCASE_AUTO(Test4116444);
+ TESTCASE_AUTO(Test4114739);
+ TESTCASE_AUTO(Test4113018);
+ TESTCASE_AUTO(Test4106661);
+ TESTCASE_AUTO(Test4094906);
+ TESTCASE_AUTO(Test4118592);
+ TESTCASE_AUTO(Test4118594);
+ TESTCASE_AUTO(Test4105380);
+ TESTCASE_AUTO(Test4120552);
+ TESTCASE_AUTO(Test4142938);
+ TESTCASE_AUTO(TestChoicePatternQuote);
+ TESTCASE_AUTO(Test4112104);
+ TESTCASE_AUTO(TestICU12584);
+ TESTCASE_AUTO(TestAPI);
TESTCASE_AUTO_END;
}
void NumberFormatTest::TestAvailableNumberingSystems() {
IcuTestErrorCode status(*this, "TestAvailableNumberingSystems");
StringEnumeration *availableNumberingSystems = NumberingSystem::getAvailableNames(status);
- CHECK_DATA(status, "NumberingSystem::getAvailableNames()")
+ CHECK_DATA(status, "NumberingSystem::getAvailableNames()");
int32_t nsCount = availableNumberingSystems->count(status);
if ( nsCount < 74 ) {
Locale locale("en_US");
LocalPointer<DecimalFormat> numberFormat(static_cast<DecimalFormat*>(
NumberFormat::createInstance(locale, status)));
- CHECK_DATA(status,"NumberFormat::createInstance")
+ CHECK_DATA(status,"NumberFormat::createInstance");
numberFormat->setSignificantDigitsUsed(TRUE);
numberFormat->setMinimumSignificantDigits(3);
Locale locale("en_US");
LocalPointer<DecimalFormat> numberFormat(static_cast<DecimalFormat*>(
NumberFormat::createInstance(locale, status)));
- CHECK_DATA(status, "NumberFormat::createInstance")
+ CHECK_DATA(status, "NumberFormat::createInstance");
numberFormat->setSignificantDigitsUsed(TRUE);
numberFormat->setMaximumSignificantDigits(3);
void NumberFormatTest::TestParseNegativeWithFaLocale() {
UErrorCode status = U_ZERO_ERROR;
DecimalFormat *test = (DecimalFormat *) NumberFormat::createInstance("fa", status);
- CHECK_DATA(status, "NumberFormat::createInstance")
+ CHECK_DATA(status, "NumberFormat::createInstance");
test->setLenient(TRUE);
Formattable af;
ParsePosition ppos;
void NumberFormatTest::TestParseNegativeWithAlternateMinusSign() {
UErrorCode status = U_ZERO_ERROR;
DecimalFormat *test = (DecimalFormat *) NumberFormat::createInstance("en", status);
- CHECK_DATA(status, "NumberFormat::createInstance")
+ CHECK_DATA(status, "NumberFormat::createInstance");
test->setLenient(TRUE);
Formattable af;
ParsePosition ppos;
// This assert is a little deceiving in that strength can be
// any of the allowed values, not just TERTIARY, but it will
// do the job of getting the error output.
- TEST_ASSERT(*strength=="TERTIARY")
+ TEST_ASSERT(*strength=="TERTIARY");
}
//
TESTCASE_AUTO(Test20104);
#endif /* #if !UCONFIG_NO_FORMATTING */
#endif /* #if !UCONFIG_NO_TRANSLITERATION */
- TESTCASE_AUTO_END
+ TESTCASE_AUTO_END;
}