• Home
  • Raw
  • Download

Lines Matching refs:CONFIRM_EQ

36 #define CONFIRM_EQ(actual,expected) if ((expected)==(actual)) { record_pass(); } else { record_fail…  macro
339 CONFIRM_EQ((UnicodeString)bundle.getKey(), (UnicodeString)data[i]); in TestIteration()
351 CONFIRM_EQ(bundle.getType(), URES_ARRAY); in TestIteration()
363 CONFIRM_EQ(got, expected); in TestIteration()
366 CONFIRM_EQ(col, rowbundle.getSize()); in TestIteration()
370 CONFIRM_EQ(bundle.getType(), (int32_t)URES_STRING); in TestIteration()
373 CONFIRM_EQ(got, expected); in TestIteration()
378 CONFIRM_EQ(bundle.getSize(), count); in TestIteration()
379 CONFIRM_EQ(count, atoi(data[i+1])); in TestIteration()
387 CONFIRM_EQ(u_errorName(err), u_errorName(U_INDEX_OUTOFBOUNDS_ERROR)); in TestIteration()
551 CONFIRM_EQ((UnicodeString)ures_getKey(bundle), (UnicodeString)data[i]); in TestOtherAPI()
563 CONFIRM_EQ(ures_getType(bundle), URES_ARRAY); in TestOtherAPI()
578 CONFIRM_EQ(got, expected); in TestOtherAPI()
579 CONFIRM_EQ(bla, expected); in TestOtherAPI()
580 CONFIRM_EQ(bla2, expected); in TestOtherAPI()
583 CONFIRM_EQ(col, ures_getSize(rowbundle)); in TestOtherAPI()
587 CONFIRM_EQ(ures_getType(bundle), (int32_t)URES_STRING); in TestOtherAPI()
590 CONFIRM_EQ(got, expected); in TestOtherAPI()
716 CONFIRM_EQ(string, expected_string); in testTag()
739 CONFIRM_EQ(bundleType, URES_ARRAY); in testTag()
749 CONFIRM_EQ(array.getNextString(status),expected_string); in testTag()
755 CONFIRM_EQ(count,kERROR_COUNT); in testTag()
787 CONFIRM_EQ(string,expected_string); in testTag()
814 CONFIRM_EQ(bundleType, URES_ARRAY); in testTag()
825 CONFIRM_EQ(rowType, URES_ARRAY); in testTag()
835 CONFIRM_EQ(tablerow.getNextString(status),expected_string); in testTag()
840 CONFIRM_EQ(row_count,kERROR_COUNT); in testTag()
841 CONFIRM_EQ(column_count,kERROR_COUNT); in testTag()
878 CONFIRM_EQ(string,expected_string); in testTag()
901 CONFIRM_EQ(bundleType, URES_TABLE); in testTag()
961 CONFIRM_EQ(elementType, (int32_t)URES_STRING); in testTag()
963 CONFIRM_EQ((UnicodeString)key, (UnicodeString)item_tag); in testTag()
977 CONFIRM_EQ(string,expected_string); in testTag()
983 CONFIRM_EQ(count, tag_count); in testTag()
1041 CONFIRM_EQ(res.getType(), URES_STRING); in TestNewTypes()
1046 CONFIRM_EQ(len, 7); in TestNewTypes()
1058 CONFIRM_EQ(res.getType(), URES_BINARY); in TestNewTypes()
1062 CONFIRM_EQ(len, 15); in TestNewTypes()
1064 CONFIRM_EQ(binResult[i], i); in TestNewTypes()
1071 CONFIRM_EQ(res.getType(), URES_BINARY); in TestNewTypes()
1075 CONFIRM_EQ(len, 15); in TestNewTypes()
1077 CONFIRM_EQ(binResult[i], i); in TestNewTypes()
1084 CONFIRM_EQ(res.getType(), URES_INT); in TestNewTypes()
1089 CONFIRM_EQ(uintResult, (uint32_t)intResult); in TestNewTypes()
1090 CONFIRM_EQ(intResult, 1); in TestNewTypes()
1096 CONFIRM_EQ(res.getType(), URES_INT); in TestNewTypes()
1101 CONFIRM_EQ(uintResult, 0x0FFFFFFF); /* a 28 bit integer */ in TestNewTypes()
1102 CONFIRM_EQ(intResult, -1); in TestNewTypes()
1109 CONFIRM_EQ(res.getType(), URES_INT); in TestNewTypes()
1114 CONFIRM_EQ(uintResult, (uint32_t)intResult); in TestNewTypes()
1115 CONFIRM_EQ(intResult, 1); in TestNewTypes()
1120 CONFIRM_EQ(res.getType(), URES_INT); in TestNewTypes()
1124 CONFIRM_EQ(intResult, 123); in TestNewTypes()