From 21d28f09457c0a8d1f582e87b0682c5c4346e07c Mon Sep 17 00:00:00 2001 From: Michael Ow Date: Wed, 12 Mar 2014 22:56:39 +0000 Subject: [PATCH] ICU-10286 Add uconfig option in test code for filtered break iterator X-SVN-Rev: 35448 --- icu4c/source/test/intltest/rbbiapts.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/icu4c/source/test/intltest/rbbiapts.cpp b/icu4c/source/test/intltest/rbbiapts.cpp index a05d059558e..734ae966510 100644 --- a/icu4c/source/test/intltest/rbbiapts.cpp +++ b/icu4c/source/test/intltest/rbbiapts.cpp @@ -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 builder; LocalPointer 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 } -- 2.40.0