Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/cintltst/
Dspooftest.c46 #define TEST_ASSERT_EQ(a, b) UPRV_BLOCK_MACRO_BEGIN { \ macro
170 TEST_ASSERT_EQ(0, checkResults); in TestOpenFromSource()
212 TEST_ASSERT_EQ(status, U_BUFFER_OVERFLOW_ERROR); in TestUSpoofCAPI()
222 TEST_ASSERT_EQ(42, buf[serializedSize]); in TestUSpoofCAPI()
228 TEST_ASSERT_EQ(serializedSize, actualLength); in TestUSpoofCAPI()
233 TEST_ASSERT_EQ(0, checkResults); in TestUSpoofCAPI()
237 TEST_ASSERT_EQ(USPOOF_SINGLE_SCRIPT, checkResults); in TestUSpoofCAPI()
253 TEST_ASSERT_EQ(t, USPOOF_ALL_CHECKS); in TestUSpoofCAPI()
258 TEST_ASSERT_EQ(0, t); in TestUSpoofCAPI()
266TEST_ASSERT_EQ(USPOOF_WHOLE_SCRIPT_CONFUSABLE | USPOOF_MIXED_SCRIPT_CONFUSABLE | USPOOF_ANY_CASE, … in TestUSpoofCAPI()
[all …]
/external/icu/icu4c/source/test/intltest/
Ditspoof.cpp50 #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()
131TEST_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 …]