Home
last modified time | relevance | path

Searched refs:TEST_ASSERT_EQ (Results 1 – 2 of 2) sorted by relevance

/external/icu4c/test/cintltst/
Dspooftest.c37 #define TEST_ASSERT_EQ(a, b) { if ((a) != (b)) { \ macro
190 TEST_ASSERT_EQ(status, U_BUFFER_OVERFLOW_ERROR); in TestUSpoofCAPI()
200 TEST_ASSERT_EQ(42, buf[serializedSize]); in TestUSpoofCAPI()
206 TEST_ASSERT_EQ(serializedSize, actualLength); in TestUSpoofCAPI()
211 TEST_ASSERT_EQ(0, checkResults); in TestUSpoofCAPI()
215 TEST_ASSERT_EQ(USPOOF_SINGLE_SCRIPT | USPOOF_MIXED_SCRIPT_CONFUSABLE, checkResults); in TestUSpoofCAPI()
231 TEST_ASSERT_EQ(t, USPOOF_ALL_CHECKS); in TestUSpoofCAPI()
236 TEST_ASSERT_EQ(0, t); in TestUSpoofCAPI()
244TEST_ASSERT_EQ(USPOOF_WHOLE_SCRIPT_CONFUSABLE | USPOOF_MIXED_SCRIPT_CONFUSABLE | USPOOF_ANY_CASE, … in TestUSpoofCAPI()
288 TEST_ASSERT_EQ(0, checkResults); in TestUSpoofCAPI()
[all …]
/external/icu4c/test/intltest/
Ditspoof.cpp30 #define TEST_ASSERT_EQ(a, b) { if ((a) != (b)) { \ macro
112 TEST_ASSERT_EQ(0, checkResults); in testSpoofAPI()
113 TEST_ASSERT_EQ(666, position); in testSpoofAPI()
120TEST_ASSERT_EQ(USPOOF_MIXED_SCRIPT_CONFUSABLE | USPOOF_WHOLE_SCRIPT_CONFUSABLE, checkResults); in testSpoofAPI()
241TEST_ASSERT_EQ(USPOOF_SINGLE_SCRIPT_CONFUSABLE, uspoof_areConfusableUnicodeString(sc, s1, s2, &sta… in testAreConfusable()
251 TEST_ASSERT_EQ(0, uspoof_checkUnicodeString(sc, s, &position, &status)); in testInvisible()
256 TEST_ASSERT_EQ(USPOOF_INVISIBLE, uspoof_checkUnicodeString(sc, s2, &position, &status)); in testInvisible()
258 TEST_ASSERT_EQ(7, position); in testInvisible()
264 TEST_ASSERT_EQ(USPOOF_INVISIBLE, uspoof_checkUnicodeString(sc, s3, &position, &status)); in testInvisible()
266 TEST_ASSERT_EQ(7, position); in testInvisible()
[all …]