ICU-20601 Add missing semicolons.
These are the same changes for the C++ code as was done for the C code
by commit aa60d4292ef27d1437088efedee0e4fc1fd3ad90.
diff --git a/icu4c/source/test/intltest/itspoof.cpp b/icu4c/source/test/intltest/itspoof.cpp
index 7e31737..d4c6f50 100644
--- a/icu4c/source/test/intltest/itspoof.cpp
+++ b/icu4c/source/test/intltest/itspoof.cpp
@@ -639,7 +639,7 @@
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;
}
}
diff --git a/icu4c/source/test/intltest/msfmrgts.cpp b/icu4c/source/test/intltest/msfmrgts.cpp
index c35e85d..1b83b10 100644
--- a/icu4c/source/test/intltest/msfmrgts.cpp
+++ b/icu4c/source/test/intltest/msfmrgts.cpp
@@ -32,29 +32,29 @@
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;
}
diff --git a/icu4c/source/test/intltest/numfmtst.cpp b/icu4c/source/test/intltest/numfmtst.cpp
index 9c6e084..5ae7c3d 100644
--- a/icu4c/source/test/intltest/numfmtst.cpp
+++ b/icu4c/source/test/intltest/numfmtst.cpp
@@ -7004,7 +7004,7 @@
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 @@
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 @@
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::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::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;
diff --git a/icu4c/source/test/intltest/ssearch.cpp b/icu4c/source/test/intltest/ssearch.cpp
index 7cdea8a..8b5ecd6 100644
--- a/icu4c/source/test/intltest/ssearch.cpp
+++ b/icu4c/source/test/intltest/ssearch.cpp
@@ -173,7 +173,7 @@
// 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");
}
//
diff --git a/icu4c/source/test/intltest/tsmthred.cpp b/icu4c/source/test/intltest/tsmthred.cpp
index 0f4145b..98e0486 100644
--- a/icu4c/source/test/intltest/tsmthred.cpp
+++ b/icu4c/source/test/intltest/tsmthred.cpp
@@ -79,7 +79,7 @@
TESTCASE_AUTO(Test20104);
#endif /* #if !UCONFIG_NO_FORMATTING */
#endif /* #if !UCONFIG_NO_TRANSLITERATION */
- TESTCASE_AUTO_END
+ TESTCASE_AUTO_END;
}