ICU-20601 Add missing semicolons.

These are the same changes for the C++ code as was done for the C code
by commit aa60d4292e.
This commit is contained in:
Fredrik Roubert 2019-08-13 23:17:39 +02:00 committed by Fredrik Roubert
parent 5d6d29b76a
commit c78d9fa137
5 changed files with 30 additions and 30 deletions

View File

@ -639,7 +639,7 @@ void IntlTestSpoof::testMixedNumbers() {
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;
}
}

View File

@ -32,29 +32,29 @@ void
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;
}

View File

@ -7004,7 +7004,7 @@ void NumberFormatTest::TestExplicitParents() {
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 ) {
@ -7474,7 +7474,7 @@ void NumberFormatTest::TestSignificantDigits(void) {
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);
@ -7527,7 +7527,7 @@ void NumberFormatTest::TestShowZero() {
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);
@ -7578,7 +7578,7 @@ void NumberFormatTest::TestBug9936() {
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;
@ -7594,7 +7594,7 @@ void NumberFormatTest::TestParseNegativeWithFaLocale() {
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;

View File

@ -173,7 +173,7 @@ void SSearchTest::searchTest()
// 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");
}
//

View File

@ -79,7 +79,7 @@ void MultithreadTest::runIndexedTest( int32_t index, UBool exec,
TESTCASE_AUTO(Test20104);
#endif /* #if !UCONFIG_NO_FORMATTING */
#endif /* #if !UCONFIG_NO_TRANSLITERATION */
TESTCASE_AUTO_END
TESTCASE_AUTO_END;
}