Searched refs:TEST_ASSERT_EQ (Results 1 – 2 of 2) sorted by relevance
/external/icu/icu4c/source/test/cintltst/ |
D | spooftest.c | 40 #define TEST_ASSERT_EQ(a, b) { if ((a) != (b)) { \ macro 158 TEST_ASSERT_EQ(0, checkResults); in TestOpenFromSource() 200 TEST_ASSERT_EQ(status, U_BUFFER_OVERFLOW_ERROR); in TestUSpoofCAPI() 210 TEST_ASSERT_EQ(42, buf[serializedSize]); in TestUSpoofCAPI() 216 TEST_ASSERT_EQ(serializedSize, actualLength); in TestUSpoofCAPI() 221 TEST_ASSERT_EQ(0, checkResults); in TestUSpoofCAPI() 225 TEST_ASSERT_EQ(USPOOF_SINGLE_SCRIPT, checkResults); in TestUSpoofCAPI() 241 TEST_ASSERT_EQ(t, USPOOF_ALL_CHECKS); in TestUSpoofCAPI() 246 TEST_ASSERT_EQ(0, t); in TestUSpoofCAPI() 254 …TEST_ASSERT_EQ(USPOOF_WHOLE_SCRIPT_CONFUSABLE | USPOOF_MIXED_SCRIPT_CONFUSABLE | USPOOF_ANY_CASE, … in TestUSpoofCAPI() [all …]
|
/external/icu/icu4c/source/test/intltest/ |
D | itspoof.cpp | 41 #define TEST_ASSERT_EQ(a, b) { if ((a) != (b)) { \ macro 104 TEST_ASSERT_EQ(0, checkResults); in testSpoofAPI() 105 TEST_ASSERT_EQ(0, position); in testSpoofAPI() 113 … TEST_ASSERT_EQ(USPOOF_MIXED_SCRIPT_CONFUSABLE | USPOOF_WHOLE_SCRIPT_CONFUSABLE, checkResults); in testSpoofAPI() 233 TEST_ASSERT_EQ(USPOOF_SINGLE_SCRIPT_CONFUSABLE, result); in testAreConfusable() 242 TEST_ASSERT_EQ(0, uspoof_checkUnicodeString(sc, s, &position, &status)); in testInvisible() 247 TEST_ASSERT_EQ(USPOOF_INVISIBLE, uspoof_checkUnicodeString(sc, s2, &position, &status)); in testInvisible() 249 TEST_ASSERT_EQ(0, position); in testInvisible() 255 TEST_ASSERT_EQ(USPOOF_INVISIBLE, uspoof_checkUnicodeString(sc, s3, &position, &status)); in testInvisible() 257 TEST_ASSERT_EQ(0, position); in testInvisible() [all …]
|