ICU-10286 Add uconfig option in test code for filtered break iterator

X-SVN-Rev: 35448
This commit is contained in:
Michael Ow 2014-03-12 22:56:39 +00:00
parent 185eb296a9
commit 21d28f0945

View File

@ -1221,7 +1221,7 @@ static void prtbrks(BreakIterator* brk, const UnicodeString &ustr, IntlTest &it)
#endif
void RBBIAPITest::TestFilteredBreakIteratorBuilder() {
#if !UCONFIG_NO_BREAK_ITERATION && U_HAVE_STD_STRING
#if !UCONFIG_NO_BREAK_ITERATION && U_HAVE_STD_STRING && !UCONFIG_NO_FILTERED_BREAK_ITERATION
UErrorCode status = U_ZERO_ERROR;
LocalPointer<FilteredBreakIteratorBuilder> builder;
LocalPointer<BreakIterator> baseBI;
@ -1391,7 +1391,7 @@ void RBBIAPITest::TestFilteredBreakIteratorBuilder() {
#endif
#else
logln("Skipped- not: !UCONFIG_NO_BREAK_ITERATION && U_HAVE_STD_STRING");
logln("Skipped- not: !UCONFIG_NO_BREAK_ITERATION && U_HAVE_STD_STRING && !UCONFIG_NO_FILTERED_BREAK_ITERATION");
#endif
}