Lines Matching refs:doAssert
166 static void doAssert(int condition, const char *message) in doAssert() function
348 doAssert( (ucol_getStrength(col) == UCOL_TERTIARY), "collation object has the wrong strength"); in TestProperty()
349 …doAssert( (ucol_getStrength(col) != UCOL_PRIMARY), "collation object's strength is primary differe… in TestProperty()
353 …doAssert( (ucol_getStrength(col) != UCOL_TERTIARY), "collation object's strength is secondary diff… in TestProperty()
354 …doAssert( (ucol_getStrength(col) != UCOL_PRIMARY), "collation object's strength is primary differe… in TestProperty()
355 doAssert( (ucol_getStrength(col) == UCOL_SECONDARY), "collation object has the wrong strength"); in TestProperty()
386 doAssert(u_strFindFirst(rules, tempLength, aa, 2) != NULL, in TestProperty()
396 doAssert( tempLength == 0x00, "getRulesEx() result incorrect" ); in TestProperty()
418 doAssert( (ucol_getStrength(col) != UCOL_TERTIARY), "collation object has the wrong strength"); in TestProperty()
419 …doAssert( (ucol_getStrength(col) == UCOL_PRIMARY), "collation object's strength is not primary dif… in TestProperty()
423 …doAssert( (ucol_getStrength(col) == UCOL_TERTIARY), "collation object's strength is not tertiary d… in TestProperty()
424 …doAssert( (ucol_getStrength(col) != UCOL_PRIMARY), "collation object's strength is primary differe… in TestProperty()
425 …doAssert( (ucol_getStrength(col) != UCOL_SECONDARY), "collation object's strength is secondary dif… in TestProperty()
491 doAssert((u_strcmp(rule1, rule2) != 0), "Default collator getRules failed"); in TestRuleBasedColl()
492 doAssert((u_strcmp(rule2, rule3) != 0), "Default collator getRules failed"); in TestRuleBasedColl()
493 doAssert((u_strcmp(rule1, rule3) != 0), "Default collator getRules failed"); in TestRuleBasedColl()
501 doAssert((u_strcmp(rule2, rule4) == 0), "Default collator getRules failed"); in TestRuleBasedColl()
580 …doAssert( (!ucol_equal(col, test1, u_strlen(test1), test2, u_strlen(test2))), "Result should be \"… in TestCompare()
581 …doAssert( (ucol_greater(col, test1, u_strlen(test1), test2, u_strlen(test2))), "Result should be \… in TestCompare()
582 …doAssert( (ucol_greaterOrEqual(col, test1, u_strlen(test1), test2, u_strlen(test2))), "Result shou… in TestCompare()
587 …doAssert( (ucol_equal(col, test1, u_strlen(test1), test2, u_strlen(test2) )), "Result should be \"… in TestCompare()
588 …doAssert( (!ucol_greater(col, test1, u_strlen(test1), test2, u_strlen(test2))), "Result should be … in TestCompare()
589 …doAssert( (ucol_greaterOrEqual(col, test1, u_strlen(test1), test2, u_strlen(test2) )), "Result sho… in TestCompare()
594 …doAssert( (ucol_equal(col, test1, u_strlen(test1), test2, u_strlen(test2))), "Result should be \"A… in TestCompare()
595 …doAssert( (!ucol_greater(col, test1, u_strlen(test1), test2, u_strlen(test2))), "Result should be … in TestCompare()
596 …doAssert( (ucol_greaterOrEqual(col, test1, u_strlen(test1), test2, u_strlen(test2))), "Result shou… in TestCompare()
754 …doAssert( (ucol_greater(col, umlautUStr, u_strlen(umlautUStr), oeStr, u_strlen(oeStr))), "Original… in TestSafeClone()
755 …doAssert( (ucol_greater(someClonedCollators[0], umlautUStr, u_strlen(umlautUStr), oeStr, u_strlen(… in TestSafeClone()
792 …doAssert( (ucol_equal(someCollators[idx], test1, u_strlen(test1), test2, u_strlen(test2))), "Resul… in TestSafeClone()
799 …doAssert( (ucol_greater(someClonedCollators[idx], test1, u_strlen(test1), test2, u_strlen(test2)))… in TestSafeClone()
1141 doAssert( (sortklen == osortklen), "Sortkey length should be the same (abcda, abcda)"); in TestSortKey()
1143 doAssert( (memcmp(sortk1, sortk2, sortklen) > 0), "Result should be \"Abcda\" > \"abcda\""); in TestSortKey()
1144 doAssert( (memcmp(sortk2, sortk1, sortklen) < 0), "Result should be \"abcda\" < \"Abcda\""); in TestSortKey()
1145 doAssert( (memcmp(sortk2, sortk3, sortklen) == 0), "Result should be \"abcda\" == \"abcda\""); in TestSortKey()
1148 doAssert( (resultP != 0), "sortKeyToString failed!"); in TestSortKey()
1183 doAssert( !(memcmp(sortk1, sortk2, sortklen) > 0), "Result should be \"Abcda\" == \"abcda\""); in TestSortKey()
1184 doAssert( !(memcmp(sortk2, sortk1, sortklen) < 0), "Result should be \"abcda\" == \"Abcda\""); in TestSortKey()
1185 doAssert( (memcmp(sortk1, sortk2, sortklen) == 0), "Result should be \"abcda\" == \"abcda\""); in TestSortKey()
1247 …doAssert( ucol_keyHashCode(sortk1, sortk1len) != ucol_keyHashCode(sortk2, sortk2len), "Hash test1 … in TestHashCode()
1248 …doAssert( !(ucol_keyHashCode(sortk1, sortk1len) == ucol_keyHashCode(sortk2, sortk2len)), "Hash tes… in TestHashCode()
1249 …doAssert( ucol_keyHashCode(sortk2, sortk2len) == ucol_keyHashCode(sortk3, sortk3len), "Hash result… in TestHashCode()
1334 doAssert((order1 != order2), "The first iterator advance failed"); in TestElemIter()
1346 …doAssert((order1 == order2), "The second iterator advance failed should be the same as first one"); in TestElemIter()
1348 doAssert( (ucol_primaryOrder(order1) == ucol_primaryOrder(order3)), "The primary orders should be i… in TestElemIter()
1349 doAssert( (ucol_secondaryOrder(order1) == ucol_secondaryOrder(order3)), "The secondary orders shoul… in TestElemIter()
1350 doAssert( (ucol_tertiaryOrder(order1) == ucol_tertiaryOrder(order3)), "The tertiary orders should b… in TestElemIter()
1362 doAssert( (ucol_primaryOrder(order1) == ucol_primaryOrder(order3)), "The primary orders should be i… in TestElemIter()
1363 doAssert( (ucol_tertiaryOrder(order1) != ucol_tertiaryOrder(order3)), "The tertiary orders should b… in TestElemIter()
1385 doAssert( (order1 != UCOL_NULLORDER), "Unexpected end of iterator reached"); in TestElemIter()