From: Norbert Runge <nrunge@google.com> Date: Thu, 5 Oct 2017 16:53:51 +0000 (+0000) Subject: ICU-13384 Adjusts unit test to work with UCONFIG_NO_BREAK_ITERATION flag set. X-Git-Tag: release-60-rc~35 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=eaf4de59f4d565de27b41ff14cbfbc24233c027c;p=icu ICU-13384 Adjusts unit test to work with UCONFIG_NO_BREAK_ITERATION flag set. X-SVN-Rev: 40569 --- diff --git a/icu4c/source/test/intltest/strcase.cpp b/icu4c/source/test/intltest/strcase.cpp index f78acc30197..d9e46cf0b0b 100644 --- a/icu4c/source/test/intltest/strcase.cpp +++ b/icu4c/source/test/intltest/strcase.cpp @@ -1281,10 +1281,12 @@ void StringCaseTest::TestCaseMapWithEdits() { u"IÃtanBul", 8, dest, UPRV_LENGTHOF(dest), &edits, errorCode); assertEquals(u"foldCase(IÃtanBul)", UnicodeString(u"ıssb"), UnicodeString(TRUE, dest, length)); static const EditChange foldExpectedChanges[] = { +#if !UCONFIG_NO_BREAK_ITERATION // From titlecasing. { FALSE, 1, 1 }, { TRUE, 1, 1 }, { FALSE, 10, 10 }, +#endif // From case folding. { TRUE, 1, 1 }, { TRUE, 1, 2 }, @@ -1364,10 +1366,12 @@ void StringCaseTest::TestCaseMapUTF8WithEdits() { assertEquals(u"foldCase(IÃtanBul)", UnicodeString(u"ıssb"), UnicodeString::fromUTF8(StringPiece(dest, length))); static const EditChange foldExpectedChanges[] = { +#if !UCONFIG_NO_BREAK_ITERATION // From titlecasing. { FALSE, 1, 1 }, { TRUE, 1, 1 }, { FALSE, 10, 10 }, +#endif // From case folding. { TRUE, 1, 2 }, { TRUE, 2, 2 },