• Home
  • Raw
  • Download

Lines Matching refs:TEST_ASSERT

38 #define TEST_ASSERT(expr) UPRV_BLOCK_MACRO_BEGIN { \  macro
140 TEST_ASSERT(UnicodeString("lllOO") == dest); in testSpoofAPI()
141 TEST_ASSERT(&dest == &retStr); in testSpoofAPI()
262 TEST_ASSERT(0 == position); in testInvisible()
361 TEST_ASSERT(fileSize>0); in testConfData()
408 TEST_ASSERT(actual == expected); in testConfData()
429 TEST_ASSERT(USCRIPT_CODE_LIMIT <= ScriptSet::SCRIPT_LIMIT); in testScriptSet()
432 TEST_ASSERT(u_getIntPropertyMaxValue(UCHAR_SCRIPT) < ScriptSet::SCRIPT_LIMIT); in testScriptSet()
438 TEST_ASSERT(s1 == s2); in testScriptSet()
441 TEST_ASSERT(!(s1 == s2)); in testScriptSet()
442 TEST_ASSERT(s1.test(USCRIPT_ARABIC, status)); in testScriptSet()
443 TEST_ASSERT(s1.test(USCRIPT_GREEK, status) == FALSE); in testScriptSet()
447 TEST_ASSERT(s1 == s2); in testScriptSet()
452 TEST_ASSERT(s1.test(USCRIPT_COMMON, status)); in testScriptSet()
453 TEST_ASSERT(s1.test(USCRIPT_ETHIOPIC, status)); in testScriptSet()
454 TEST_ASSERT(s1.test(LAST_SCRIPT_CODE, status)); in testScriptSet()
456 TEST_ASSERT(!s1.test(USCRIPT_COMMON, status)); in testScriptSet()
457 TEST_ASSERT(!s1.test(USCRIPT_ETHIOPIC, status)); in testScriptSet()
458 TEST_ASSERT(!s1.test(LAST_SCRIPT_CODE, status)); in testScriptSet()
464 TEST_ASSERT(s2.contains(s1)); in testScriptSet()
465 TEST_ASSERT(!s1.contains(s2)); in testScriptSet()
466 TEST_ASSERT(s2.intersects(s1)); in testScriptSet()
467 TEST_ASSERT(s1.intersects(s2)); in testScriptSet()
469 TEST_ASSERT(!s2.contains(s1)); in testScriptSet()
470 TEST_ASSERT(!s1.contains(s2)); in testScriptSet()
471 TEST_ASSERT(s1.intersects(s2)); in testScriptSet()
472 TEST_ASSERT(s2.intersects(s1)); in testScriptSet()
480 TEST_ASSERT(s2 == s1); in testScriptSet()
483 TEST_ASSERT(s2 == s1); in testScriptSet()
485 TEST_ASSERT(!(s2 == s1)); in testScriptSet()
486 TEST_ASSERT(s2.countMembers() >= USCRIPT_CODE_LIMIT); in testScriptSet()
488 TEST_ASSERT(s2 == s1); in testScriptSet()
493 TEST_ASSERT(s2.countMembers() == 1); in testScriptSet()
496 TEST_ASSERT(s1.isEmpty()); in testScriptSet()
498 TEST_ASSERT(!s1.isEmpty()); in testScriptSet()
500 TEST_ASSERT(!s1.isEmpty()); in testScriptSet()
515 default: TEST_ASSERT(FALSE); in testScriptSet()
523 TEST_ASSERT(s1.countMembers() == 1); in testScriptSet()
524 TEST_ASSERT(s1.test(USCRIPT_LATIN, status)); in testScriptSet()
529 TEST_ASSERT(s1.countMembers() == 3); in testScriptSet()
530 TEST_ASSERT(s1.test(USCRIPT_HAN, status)); in testScriptSet()
531 TEST_ASSERT(s1.test(USCRIPT_HIRAGANA, status)); in testScriptSet()
532 TEST_ASSERT(s1.test(USCRIPT_KATAKANA, status)); in testScriptSet()
538 TEST_ASSERT(bitset12.contains(bitset2)); in testScriptSet()
539 TEST_ASSERT(bitset12.contains(bitset12)); in testScriptSet()
540 TEST_ASSERT(!bitset2.contains(bitset12)); in testScriptSet()
546 TEST_ASSERT(uhash_compareScriptSet(arabEl, latinEl) < 0); in testScriptSet()
547 TEST_ASSERT(uhash_compareScriptSet(latinEl, arabEl) > 0); in testScriptSet()
551 TEST_ASSERT(UNICODE_STRING_SIMPLE("Hang Latn") == scriptString); in testScriptSet()
676 TEST_ASSERT((checks & USPOOF_RESTRICTION_LEVEL) != 0); in testBug12153()
680 TEST_ASSERT((checks & USPOOF_RESTRICTION_LEVEL) == 0); in testBug12153()
684 TEST_ASSERT((checks & USPOOF_RESTRICTION_LEVEL) != 0); in testBug12153()