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