Home
last modified time | relevance | path

Searched refs:checkResults (Results 1 – 6 of 6) sorted by relevance

/external/icu4c/test/cintltst/
Dspooftest.c181 int32_t checkResults; in TestUSpoofCAPI() local
204 checkResults = uspoof_check(sc2, goodLatin, -1, NULL, &status); in TestUSpoofCAPI()
206 TEST_ASSERT_EQ(0, checkResults); in TestUSpoofCAPI()
208 checkResults = uspoof_check(sc2, scMixed, -1, NULL, &status); in TestUSpoofCAPI()
210 TEST_ASSERT_EQ(USPOOF_SINGLE_SCRIPT | USPOOF_MIXED_SCRIPT_CONFUSABLE, checkResults); in TestUSpoofCAPI()
268 int32_t checkResults = 0; in TestUSpoofCAPI() local
281 checkResults = uspoof_check(clone2, goodLatin, -1, NULL, &status); in TestUSpoofCAPI()
283 TEST_ASSERT_EQ(0, checkResults); in TestUSpoofCAPI()
285 checkResults = uspoof_check(clone2, scMixed, -1, NULL, &status); in TestUSpoofCAPI()
287 TEST_ASSERT_EQ(USPOOF_SINGLE_SCRIPT | USPOOF_MIXED_SCRIPT_CONFUSABLE, checkResults); in TestUSpoofCAPI()
[all …]
/external/chromium/third_party/icu/source/test/cintltst/
Dspooftest.c200 int32_t checkResults; in TestUSpoofCAPI() local
223 checkResults = uspoof_check(sc2, goodLatin, -1, NULL, &status); in TestUSpoofCAPI()
225 TEST_ASSERT_EQ(0, checkResults); in TestUSpoofCAPI()
227 checkResults = uspoof_check(sc2, scMixed, -1, NULL, &status); in TestUSpoofCAPI()
229 TEST_ASSERT_EQ(USPOOF_SINGLE_SCRIPT | USPOOF_MIXED_SCRIPT_CONFUSABLE, checkResults); in TestUSpoofCAPI()
287 int32_t checkResults = 0; in TestUSpoofCAPI() local
300 checkResults = uspoof_check(clone2, goodLatin, -1, NULL, &status); in TestUSpoofCAPI()
302 TEST_ASSERT_EQ(0, checkResults); in TestUSpoofCAPI()
304 checkResults = uspoof_check(clone2, scMixed, -1, NULL, &status); in TestUSpoofCAPI()
306 TEST_ASSERT_EQ(USPOOF_SINGLE_SCRIPT | USPOOF_MIXED_SCRIPT_CONFUSABLE, checkResults); in TestUSpoofCAPI()
[all …]
/external/chromium/third_party/icu/source/test/intltest/
Ditspoof.cpp91 int32_t checkResults = uspoof_checkUnicodeString(sc, s, &position, &status); in testSpoofAPI() local
93 TEST_ASSERT_EQ(0, checkResults); in testSpoofAPI()
100 int32_t checkResults = uspoof_areConfusableUnicodeString(sc, s1, s2, &status); in testSpoofAPI() local
101 … TEST_ASSERT_EQ(USPOOF_MIXED_SCRIPT_CONFUSABLE | USPOOF_WHOLE_SCRIPT_CONFUSABLE, checkResults); in testSpoofAPI()
Drbbitst.cpp146 void checkResults(const char *heading, RBBITest *test);
184 void BITestData::checkResults(const char *heading, RBBITest *test) { in checkResults() function in BITestData
1237 td.checkResults("testFirstAndNext", this); in testFirstAndNext()
1270 td.checkResults("testLastAndPrevious", this); in testLastAndPrevious()
1314 td.checkResults("testFollowing", this); in testFollowing()
1356 td.checkResults("testPreceding", this); in testPreceding()
1377 td.checkResults("testIsBoundary: ", this); in testIsBoundary()
/external/icu4c/test/intltest/
Ditspoof.cpp103 int32_t checkResults = uspoof_checkUnicodeString(sc, s, &position, &status); in testSpoofAPI() local
105 TEST_ASSERT_EQ(0, checkResults); in testSpoofAPI()
112 int32_t checkResults = uspoof_areConfusableUnicodeString(sc, s1, s2, &status); in testSpoofAPI() local
113 … TEST_ASSERT_EQ(USPOOF_MIXED_SCRIPT_CONFUSABLE | USPOOF_WHOLE_SCRIPT_CONFUSABLE, checkResults); in testSpoofAPI()
Drbbitst.cpp176 void checkResults(const char *heading, RBBITest *test);
214 void BITestData::checkResults(const char *heading, RBBITest *test) { in checkResults() function in BITestData
898 td.checkResults("testFirstAndNext", this); in testFirstAndNext()
931 td.checkResults("testLastAndPrevious", this); in testLastAndPrevious()
975 td.checkResults("testFollowing", this); in testFollowing()
1017 td.checkResults("testPreceding", this); in testPreceding()
1038 td.checkResults("testIsBoundary: ", this); in testIsBoundary()