• Home
  • Raw
  • Download

Lines Matching refs:checkResults

136     int32_t     checkResults;  in TestOpenFromSource()  local
168 checkResults = uspoof_check(rsc, goodLatin, -1, NULL, &status); in TestOpenFromSource()
170 TEST_ASSERT_EQ(0, checkResults); in TestOpenFromSource()
208 int32_t checkResults; in TestUSpoofCAPI() local
231 checkResults = uspoof_check(sc2, goodLatin, -1, NULL, &status); in TestUSpoofCAPI()
233 TEST_ASSERT_EQ(0, checkResults); in TestUSpoofCAPI()
235 checkResults = uspoof_check(sc2, scMixed, -1, NULL, &status); in TestUSpoofCAPI()
237 TEST_ASSERT_EQ(USPOOF_SINGLE_SCRIPT, checkResults); in TestUSpoofCAPI()
295 int32_t checkResults = 0; in TestUSpoofCAPI() local
308 checkResults = uspoof_check(clone2, goodLatin, -1, NULL, &status); in TestUSpoofCAPI()
310 TEST_ASSERT_EQ(0, checkResults); in TestUSpoofCAPI()
312 checkResults = uspoof_check(clone2, scMixed, -1, NULL, &status); in TestUSpoofCAPI()
314 TEST_ASSERT_EQ(USPOOF_SINGLE_SCRIPT, checkResults); in TestUSpoofCAPI()
343 int32_t checkResults; in TestUSpoofCAPI() local
357 checkResults = uspoof_check(sc, scMixed, -1, NULL, &status); in TestUSpoofCAPI()
359 TEST_ASSERT_EQ(0, checkResults); in TestUSpoofCAPI()
368 int32_t checkResults; in TestUSpoofCAPI() local
388 checkResults = uspoof_check(sc, goodLatin, -1, NULL, &status); in TestUSpoofCAPI()
390 TEST_ASSERT_EQ(0, checkResults); in TestUSpoofCAPI()
392 checkResults = uspoof_check(sc, goodGreek, -1, NULL, &status); in TestUSpoofCAPI()
394 TEST_ASSERT_EQ(USPOOF_CHAR_LIMIT, checkResults); in TestUSpoofCAPI()
396 checkResults = uspoof_check(sc, goodCyrl, -1, NULL, &status); in TestUSpoofCAPI()
398 TEST_ASSERT_EQ(0, checkResults); in TestUSpoofCAPI()
404 checkResults = uspoof_check(sc, goodGreek, -1, NULL, &status); in TestUSpoofCAPI()
406 TEST_ASSERT_EQ(0, checkResults); in TestUSpoofCAPI()
415 int32_t checkResults; in TestUSpoofCAPI() local
437 checkResults = uspoof_check(sc, goodLatin, -1, NULL, &status); in TestUSpoofCAPI()
439 TEST_ASSERT_EQ(USPOOF_CHAR_LIMIT | USPOOF_RESTRICTION_LEVEL, checkResults); in TestUSpoofCAPI()
441 checkResults = uspoof_check(sc, goodGreek, -1, NULL, &status); in TestUSpoofCAPI()
443 TEST_ASSERT_EQ(0, checkResults); in TestUSpoofCAPI()
451 int32_t checkResults, checkResults2; in TestUSpoofCAPI() local
457 checkResults = uspoof_checkUTF8(sc, utf8buf, -1, &position, &status); in TestUSpoofCAPI()
459 TEST_ASSERT_EQ(0, checkResults); in TestUSpoofCAPI()
464 checkResults = uspoof_checkUTF8(sc, utf8buf, -1, &position, &status); in TestUSpoofCAPI()
466 TEST_ASSERT_EQ(0, checkResults); in TestUSpoofCAPI()
471 checkResults = uspoof_checkUTF8(sc, utf8buf, -1, &position, &status); in TestUSpoofCAPI()
474 TEST_ASSERT_EQ(USPOOF_SINGLE_SCRIPT , checkResults); in TestUSpoofCAPI()
476 TEST_ASSERT_EQ(checkResults , checkResults2); in TestUSpoofCAPI()
531 int32_t checkResults; in TestUSpoofCAPI() local
533 checkResults = uspoof_areConfusable(sc, scLatin, -1, scMixed, -1, &status); in TestUSpoofCAPI()
535 TEST_ASSERT_EQ(USPOOF_MIXED_SCRIPT_CONFUSABLE, checkResults); in TestUSpoofCAPI()
537 checkResults = uspoof_areConfusable(sc, goodGreek, -1, scLatin, -1, &status); in TestUSpoofCAPI()
539 TEST_ASSERT_EQ(0, checkResults); in TestUSpoofCAPI()
541 checkResults = uspoof_areConfusable(sc, lll_Latin_a, -1, lll_Latin_b, -1, &status); in TestUSpoofCAPI()
543 TEST_ASSERT_EQ(USPOOF_SINGLE_SCRIPT_CONFUSABLE, checkResults); in TestUSpoofCAPI()
551 int32_t checkResults; in TestUSpoofCAPI() local
559 checkResults = uspoof_areConfusableUTF8(sc, s1, -1, s2, -1, &status); in TestUSpoofCAPI()
561 TEST_ASSERT_EQ(USPOOF_MIXED_SCRIPT_CONFUSABLE, checkResults); in TestUSpoofCAPI()
566 checkResults = uspoof_areConfusableUTF8(sc, s1, -1, s2, -1, &status); in TestUSpoofCAPI()
568 TEST_ASSERT_EQ(0, checkResults); in TestUSpoofCAPI()
573 checkResults = uspoof_areConfusableUTF8(sc, s1, -1, s2, -1, &status); in TestUSpoofCAPI()
575 TEST_ASSERT_EQ(USPOOF_SINGLE_SCRIPT_CONFUSABLE, checkResults); in TestUSpoofCAPI()