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.c37 #define TEST_ASSERT_EQ(a, b) { if ((a) != (b)) { \ macro
155 TEST_ASSERT_EQ(0, checkResults); in TestOpenFromSource()
197 TEST_ASSERT_EQ(status, U_BUFFER_OVERFLOW_ERROR); in TestUSpoofCAPI()
207 TEST_ASSERT_EQ(42, buf[serializedSize]); in TestUSpoofCAPI()
213 TEST_ASSERT_EQ(serializedSize, actualLength); in TestUSpoofCAPI()
218 TEST_ASSERT_EQ(0, checkResults); in TestUSpoofCAPI()
222 TEST_ASSERT_EQ(USPOOF_SINGLE_SCRIPT | USPOOF_MIXED_SCRIPT_CONFUSABLE, checkResults); in TestUSpoofCAPI()
238 TEST_ASSERT_EQ(t, USPOOF_ALL_CHECKS); in TestUSpoofCAPI()
243 TEST_ASSERT_EQ(0, t); in TestUSpoofCAPI()
251TEST_ASSERT_EQ(USPOOF_WHOLE_SCRIPT_CONFUSABLE | USPOOF_MIXED_SCRIPT_CONFUSABLE | USPOOF_ANY_CASE, … in TestUSpoofCAPI()
[all …]
/external/icu/icu4c/source/test/intltest/
Ditspoof.cpp40 #define TEST_ASSERT_EQ(a, b) { if ((a) != (b)) { \ macro
148 TEST_ASSERT_EQ(0, checkResults); in testSpoofAPI()
149 TEST_ASSERT_EQ(0, position); in testSpoofAPI()
156TEST_ASSERT_EQ(USPOOF_MIXED_SCRIPT_CONFUSABLE | USPOOF_WHOLE_SCRIPT_CONFUSABLE, checkResults); in testSpoofAPI()
274TEST_ASSERT_EQ(USPOOF_SINGLE_SCRIPT_CONFUSABLE, uspoof_areConfusableUnicodeString(sc, s1, s2, &sta… in testAreConfusable()
284 TEST_ASSERT_EQ(0, uspoof_checkUnicodeString(sc, s, &position, &status)); in testInvisible()
289 TEST_ASSERT_EQ(USPOOF_INVISIBLE, uspoof_checkUnicodeString(sc, s2, &position, &status)); in testInvisible()
291 TEST_ASSERT_EQ(0, position); in testInvisible()
297 TEST_ASSERT_EQ(USPOOF_INVISIBLE, uspoof_checkUnicodeString(sc, s3, &position, &status)); in testInvisible()
299 TEST_ASSERT_EQ(0, position); in testInvisible()
[all …]