#define RBBIRB_H
#include "unicode/utypes.h"
+
+#if !UCONFIG_NO_BREAK_ITERATION
+
#include "unicode/uobject.h"
#include "unicode/rbbi.h"
#include "unicode/uniset.h"
#endif
U_NAMESPACE_END
+
+#endif /* #if !UCONFIG_NO_BREAK_ITERATION */
+
#endif
#define RBBISETB_H
#include "unicode/utypes.h"
+
+#if !UCONFIG_NO_BREAK_ITERATION
+
#include "unicode/uobject.h"
#include "rbbirb.h"
#include "utrie2.h"
U_NAMESPACE_END
+
+#endif /* #if !UCONFIG_NO_BREAK_ITERATION */
+
#endif
#ifndef __USPOOF_BUILDCONF_H__
#define __USPOOF_BUILDCONF_H__
+#include "unicode/utypes.h"
+
#if !UCONFIG_NO_NORMALIZATION
#if !UCONFIG_NO_REGULAR_EXPRESSIONS
TestCasingImpl(u"«ijs»", u"«İjs»", TEST_TITLE,
nullptr, "tr-DE", U_TITLECASE_WHOLE_STRING);
+#if !UCONFIG_NO_BREAK_ITERATION
// Test conflicting settings.
// If & when we add more options, then the ORed combinations may become
// indistinguishable from valid values.
errorCode.errorName());
}
errorCode.reset();
+#endif
}
void
assertEquals("string length 306", expected, s);
}
+#if !UCONFIG_NO_BREAK_ITERATION
void StringCaseTest::TestBug13127() {
// Test case crashed when the bug was present.
const char16_t *s16 = u"日本語";
assertEquals("u_strToTitle(in-place) length", u_strlen(expected), length);
assertEquals("u_strToTitle(in-place)", expected, s);
}
+#endif
}
void UnicodeSetTest::TestUnusedCcc() {
+#if !UCONFIG_NO_NORMALIZATION
// All numeric ccc values 0..255 are valid, but many are unused.
IcuTestErrorCode errorCode(*this, "TestUnusedCcc");
UnicodeSet ccc2(u"[:ccc=2:]", errorCode);
assertEquals("[:ccc=1.1:] -> illegal argument",
U_ILLEGAL_ARGUMENT_ERROR, errorCode.reset());
assertTrue("[:ccc=1.1:] -> empty set", ccc1_1.isEmpty());
+#endif
}
#include "sprpimpl.h"
#include "propname.h"
#include "rbbidata.h"
+#include "utrie.h"
#include "utrie2.h"
#include "dictionarydata.h"