Searched refs:TEST_ASSERT_EQ (Results 1 – 2 of 2) sorted by relevance
/third_party/icu/icu4c/source/test/cintltst/ |
D | spooftest.c | 47 #define TEST_ASSERT_EQ(a, b) UPRV_BLOCK_MACRO_BEGIN { \ macro 171 TEST_ASSERT_EQ(0, checkResults); in TestOpenFromSource() 213 TEST_ASSERT_EQ(status, U_BUFFER_OVERFLOW_ERROR); in TestUSpoofCAPI() 223 TEST_ASSERT_EQ(42, buf[serializedSize]); in TestUSpoofCAPI() 229 TEST_ASSERT_EQ(serializedSize, actualLength); in TestUSpoofCAPI() 234 TEST_ASSERT_EQ(0, checkResults); in TestUSpoofCAPI() 238 TEST_ASSERT_EQ(USPOOF_SINGLE_SCRIPT, checkResults); in TestUSpoofCAPI() 254 TEST_ASSERT_EQ(t, USPOOF_ALL_CHECKS); in TestUSpoofCAPI() 259 TEST_ASSERT_EQ(0, t); in TestUSpoofCAPI() 267 …TEST_ASSERT_EQ(USPOOF_WHOLE_SCRIPT_CONFUSABLE | USPOOF_MIXED_SCRIPT_CONFUSABLE | USPOOF_ANY_CASE, … in TestUSpoofCAPI() [all …]
|
/third_party/icu/icu4c/source/test/intltest/ |
D | itspoof.cpp | 50 #define TEST_ASSERT_EQ(a, b) UPRV_BLOCK_MACRO_BEGIN { \ macro 122 TEST_ASSERT_EQ(0, checkResults); in testSpoofAPI() 123 TEST_ASSERT_EQ(0, position); in testSpoofAPI() 131 … TEST_ASSERT_EQ(USPOOF_MIXED_SCRIPT_CONFUSABLE | USPOOF_WHOLE_SCRIPT_CONFUSABLE, checkResults); in testSpoofAPI() 251 TEST_ASSERT_EQ(USPOOF_SINGLE_SCRIPT_CONFUSABLE, result); in testAreConfusable() 260 TEST_ASSERT_EQ(0, uspoof_checkUnicodeString(sc, s, &position, &status)); in testInvisible() 265 TEST_ASSERT_EQ(USPOOF_INVISIBLE, uspoof_checkUnicodeString(sc, s2, &position, &status)); in testInvisible() 267 TEST_ASSERT_EQ(0, position); in testInvisible() 273 TEST_ASSERT_EQ(USPOOF_INVISIBLE, uspoof_checkUnicodeString(sc, s3, &position, &status)); in testInvisible() 275 TEST_ASSERT_EQ(0, position); in testInvisible() [all …]
|