mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-10 15:42:14 +00:00
ICU-13667 Fixes compilation errors related to UCONFIG_NO_XXX flag variations.
X-SVN-Rev: 41494
This commit is contained in:
parent
404a06a0f8
commit
51688fda25
3 changed files with 8 additions and 1 deletions
|
@ -40,7 +40,9 @@ extern IntlTest *createSimpleFormatterTest();
|
|||
extern IntlTest *createUnifiedCacheTest();
|
||||
extern IntlTest *createQuantityFormatterTest();
|
||||
extern IntlTest *createPluralMapTest();
|
||||
#if !UCONFIG_NO_FORMATTING
|
||||
extern IntlTest *createStaticUnicodeSetsTest();
|
||||
#endif
|
||||
|
||||
|
||||
#define CASE(id, test) case id: \
|
||||
|
@ -138,11 +140,13 @@ void IntlTestUtilities::runIndexedTest( int32_t index, UBool exec, const char* &
|
|||
break;
|
||||
case 24:
|
||||
name = "StaticUnicodeSetsTest";
|
||||
#if !UCONFIG_NO_FORMATTING
|
||||
if (exec) {
|
||||
logln("TestSuite StaticUnicodeSetsTest---"); logln();
|
||||
LocalPointer<IntlTest> test(createStaticUnicodeSetsTest());
|
||||
callTest(*test, par);
|
||||
}
|
||||
#endif
|
||||
break;
|
||||
default: name = ""; break; //needed to end loop
|
||||
}
|
||||
|
|
|
@ -1534,6 +1534,7 @@ void StringCaseTest::TestInPlaceTitle() {
|
|||
assertEquals("u_strToTitle(in-place) length", u_strlen(expected), length);
|
||||
assertEquals("u_strToTitle(in-place)", expected, s);
|
||||
}
|
||||
#endif
|
||||
|
||||
void StringCaseTest::TestCaseMapEditsIteratorDocs() {
|
||||
IcuTestErrorCode status(*this, "TestCaseMapEditsIteratorDocs");
|
||||
|
@ -1684,4 +1685,4 @@ void StringCaseTest::TestCaseMapEditsIteratorDocs() {
|
|||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
//#endif
|
||||
|
|
|
@ -78,8 +78,10 @@ void MultithreadTest::runIndexedTest( int32_t index, UBool exec,
|
|||
TESTCASE_AUTO(TestAnyTranslit);
|
||||
TESTCASE_AUTO(TestConditionVariables);
|
||||
TESTCASE_AUTO(TestUnifiedCache);
|
||||
#if !UCONFIG_NO_TRANSLITERATION
|
||||
TESTCASE_AUTO(TestBreakTranslit);
|
||||
TESTCASE_AUTO(TestIncDec);
|
||||
#endif /* #if !UCONFIG_NO_TRANSLITERATION */
|
||||
TESTCASE_AUTO_END
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue