Lines Matching refs:doAssert
169 static void doAssert(int condition, const char *message) in doAssert() function
351 doAssert( (ucol_getStrength(col) == UCOL_TERTIARY), "collation object has the wrong strength"); in TestProperty()
352 …doAssert( (ucol_getStrength(col) != UCOL_PRIMARY), "collation object's strength is primary differe… in TestProperty()
356 …doAssert( (ucol_getStrength(col) != UCOL_TERTIARY), "collation object's strength is secondary diff… in TestProperty()
357 …doAssert( (ucol_getStrength(col) != UCOL_PRIMARY), "collation object's strength is primary differe… in TestProperty()
358 doAssert( (ucol_getStrength(col) == UCOL_SECONDARY), "collation object has the wrong strength"); in TestProperty()
389 doAssert(u_strFindFirst(rules, tempLength, aa, 2) != NULL, in TestProperty()
399 doAssert( tempLength == 0x00, "getRulesEx() result incorrect" ); in TestProperty()
421 doAssert( (ucol_getStrength(col) != UCOL_TERTIARY), "collation object has the wrong strength"); in TestProperty()
422 …doAssert( (ucol_getStrength(col) == UCOL_PRIMARY), "collation object's strength is not primary dif… in TestProperty()
426 …doAssert( (ucol_getStrength(col) == UCOL_TERTIARY), "collation object's strength is not tertiary d… in TestProperty()
427 …doAssert( (ucol_getStrength(col) != UCOL_PRIMARY), "collation object's strength is primary differe… in TestProperty()
428 …doAssert( (ucol_getStrength(col) != UCOL_SECONDARY), "collation object's strength is secondary dif… in TestProperty()
494 doAssert((u_strcmp(rule1, rule2) != 0), "Default collator getRules failed"); in TestRuleBasedColl()
495 doAssert((u_strcmp(rule2, rule3) != 0), "Default collator getRules failed"); in TestRuleBasedColl()
496 doAssert((u_strcmp(rule1, rule3) != 0), "Default collator getRules failed"); in TestRuleBasedColl()
504 doAssert((u_strcmp(rule2, rule4) == 0), "Default collator getRules failed"); in TestRuleBasedColl()
583 …doAssert( (!ucol_equal(col, test1, u_strlen(test1), test2, u_strlen(test2))), "Result should be \"… in TestCompare()
584 …doAssert( (ucol_greater(col, test1, u_strlen(test1), test2, u_strlen(test2))), "Result should be \… in TestCompare()
585 …doAssert( (ucol_greaterOrEqual(col, test1, u_strlen(test1), test2, u_strlen(test2))), "Result shou… in TestCompare()
590 …doAssert( (ucol_equal(col, test1, u_strlen(test1), test2, u_strlen(test2) )), "Result should be \"… in TestCompare()
591 …doAssert( (!ucol_greater(col, test1, u_strlen(test1), test2, u_strlen(test2))), "Result should be … in TestCompare()
592 …doAssert( (ucol_greaterOrEqual(col, test1, u_strlen(test1), test2, u_strlen(test2) )), "Result sho… in TestCompare()
597 …doAssert( (ucol_equal(col, test1, u_strlen(test1), test2, u_strlen(test2))), "Result should be \"A… in TestCompare()
598 …doAssert( (!ucol_greater(col, test1, u_strlen(test1), test2, u_strlen(test2))), "Result should be … in TestCompare()
599 …doAssert( (ucol_greaterOrEqual(col, test1, u_strlen(test1), test2, u_strlen(test2))), "Result shou… in TestCompare()
757 …doAssert( (ucol_greater(col, umlautUStr, u_strlen(umlautUStr), oeStr, u_strlen(oeStr))), "Original… in TestSafeClone()
758 …doAssert( (ucol_greater(someClonedCollators[0], umlautUStr, u_strlen(umlautUStr), oeStr, u_strlen(… in TestSafeClone()
795 …doAssert( (ucol_equal(someCollators[idx], test1, u_strlen(test1), test2, u_strlen(test2))), "Resul… in TestSafeClone()
802 …doAssert( (ucol_greater(someClonedCollators[idx], test1, u_strlen(test1), test2, u_strlen(test2)))… in TestSafeClone()
1144 doAssert( (sortklen == osortklen), "Sortkey length should be the same (abcda, abcda)"); in TestSortKey()
1146 doAssert( (memcmp(sortk1, sortk2, sortklen) > 0), "Result should be \"Abcda\" > \"abcda\""); in TestSortKey()
1147 doAssert( (memcmp(sortk2, sortk1, sortklen) < 0), "Result should be \"abcda\" < \"Abcda\""); in TestSortKey()
1148 doAssert( (memcmp(sortk2, sortk3, sortklen) == 0), "Result should be \"abcda\" == \"abcda\""); in TestSortKey()
1151 doAssert( (resultP != 0), "sortKeyToString failed!"); in TestSortKey()
1186 doAssert( !(memcmp(sortk1, sortk2, sortklen) > 0), "Result should be \"Abcda\" == \"abcda\""); in TestSortKey()
1187 doAssert( !(memcmp(sortk2, sortk1, sortklen) < 0), "Result should be \"abcda\" == \"Abcda\""); in TestSortKey()
1188 doAssert( (memcmp(sortk1, sortk2, sortklen) == 0), "Result should be \"abcda\" == \"abcda\""); in TestSortKey()
1250 …doAssert( ucol_keyHashCode(sortk1, sortk1len) != ucol_keyHashCode(sortk2, sortk2len), "Hash test1 … in TestHashCode()
1251 …doAssert( !(ucol_keyHashCode(sortk1, sortk1len) == ucol_keyHashCode(sortk2, sortk2len)), "Hash tes… in TestHashCode()
1252 …doAssert( ucol_keyHashCode(sortk2, sortk2len) == ucol_keyHashCode(sortk3, sortk3len), "Hash result… in TestHashCode()
1337 doAssert((order1 != order2), "The first iterator advance failed"); in TestElemIter()
1349 …doAssert((order1 == order2), "The second iterator advance failed should be the same as first one"); in TestElemIter()
1351 doAssert( (ucol_primaryOrder(order1) == ucol_primaryOrder(order3)), "The primary orders should be i… in TestElemIter()
1352 doAssert( (ucol_secondaryOrder(order1) == ucol_secondaryOrder(order3)), "The secondary orders shoul… in TestElemIter()
1353 doAssert( (ucol_tertiaryOrder(order1) == ucol_tertiaryOrder(order3)), "The tertiary orders should b… in TestElemIter()
1365 doAssert( (ucol_primaryOrder(order1) == ucol_primaryOrder(order3)), "The primary orders should be i… in TestElemIter()
1366 doAssert( (ucol_tertiaryOrder(order1) != ucol_tertiaryOrder(order3)), "The tertiary orders should b… in TestElemIter()
1388 doAssert( (order1 != UCOL_NULLORDER), "Unexpected end of iterator reached"); in TestElemIter()