Lines Matching refs:CONFIRM_EQ
72 #define CONFIRM_EQ(actual,expected) UPRV_BLOCK_MACRO_BEGIN { \ macro
389 CONFIRM_EQ((UnicodeString)bundle.getKey(), (UnicodeString)data[i]); in TestIteration()
401 CONFIRM_EQ(bundle.getType(), URES_ARRAY); in TestIteration()
413 CONFIRM_EQ(got, expected); in TestIteration()
416 CONFIRM_EQ(col, rowbundle.getSize()); in TestIteration()
420 CONFIRM_EQ(bundle.getType(), (int32_t)URES_STRING); in TestIteration()
423 CONFIRM_EQ(got, expected); in TestIteration()
428 CONFIRM_EQ(bundle.getSize(), count); in TestIteration()
429 CONFIRM_EQ(count, atoi(data[i+1])); in TestIteration()
437 CONFIRM_EQ(u_errorName(err), u_errorName(U_INDEX_OUTOFBOUNDS_ERROR)); in TestIteration()
603 CONFIRM_EQ((UnicodeString)ures_getKey(bundle), (UnicodeString)data[i]); in TestOtherAPI()
615 CONFIRM_EQ(ures_getType(bundle), URES_ARRAY); in TestOtherAPI()
630 CONFIRM_EQ(got, expected); in TestOtherAPI()
631 CONFIRM_EQ(bla, expected); in TestOtherAPI()
632 CONFIRM_EQ(bla2, expected); in TestOtherAPI()
635 CONFIRM_EQ(col, ures_getSize(rowbundle)); in TestOtherAPI()
639 CONFIRM_EQ(ures_getType(bundle), (int32_t)URES_STRING); in TestOtherAPI()
642 CONFIRM_EQ(got, expected); in TestOtherAPI()
782 CONFIRM_EQ(string, expected_string); in testTag()
805 CONFIRM_EQ(bundleType, URES_ARRAY); in testTag()
815 CONFIRM_EQ(array.getNextString(status),expected_string); in testTag()
821 CONFIRM_EQ(count,kERROR_COUNT); in testTag()
853 CONFIRM_EQ(string,expected_string); in testTag()
880 CONFIRM_EQ(bundleType, URES_ARRAY); in testTag()
891 CONFIRM_EQ(rowType, URES_ARRAY); in testTag()
901 CONFIRM_EQ(tablerow.getNextString(status),expected_string); in testTag()
906 CONFIRM_EQ(row_count,kERROR_COUNT); in testTag()
907 CONFIRM_EQ(column_count,kERROR_COUNT); in testTag()
944 CONFIRM_EQ(string,expected_string); in testTag()
967 CONFIRM_EQ(bundleType, URES_TABLE); in testTag()
1027 CONFIRM_EQ(elementType, (int32_t)URES_STRING); in testTag()
1029 CONFIRM_EQ((UnicodeString)key, (UnicodeString)item_tag); in testTag()
1043 CONFIRM_EQ(string,expected_string); in testTag()
1049 CONFIRM_EQ(count, tag_count); in testTag()
1107 CONFIRM_EQ(res.getType(), URES_STRING); in TestNewTypes()
1112 CONFIRM_EQ(len, 7); in TestNewTypes()
1124 CONFIRM_EQ(res.getType(), URES_BINARY); in TestNewTypes()
1128 CONFIRM_EQ(len, 15); in TestNewTypes()
1130 CONFIRM_EQ(binResult[i], i); in TestNewTypes()
1137 CONFIRM_EQ(res.getType(), URES_BINARY); in TestNewTypes()
1141 CONFIRM_EQ(len, 15); in TestNewTypes()
1143 CONFIRM_EQ(binResult[i], i); in TestNewTypes()
1150 CONFIRM_EQ(res.getType(), URES_INT); in TestNewTypes()
1155 CONFIRM_EQ(uintResult, (uint32_t)intResult); in TestNewTypes()
1156 CONFIRM_EQ(intResult, 1); in TestNewTypes()
1162 CONFIRM_EQ(res.getType(), URES_INT); in TestNewTypes()
1167 CONFIRM_EQ(uintResult, 0x0FFFFFFF); /* a 28 bit integer */ in TestNewTypes()
1168 CONFIRM_EQ(intResult, -1); in TestNewTypes()
1175 CONFIRM_EQ(res.getType(), URES_INT); in TestNewTypes()
1180 CONFIRM_EQ(uintResult, (uint32_t)intResult); in TestNewTypes()
1181 CONFIRM_EQ(intResult, 1); in TestNewTypes()
1186 CONFIRM_EQ(res.getType(), URES_INT); in TestNewTypes()
1190 CONFIRM_EQ(intResult, 123); in TestNewTypes()