Lines Matching +defs:exp +defs:str
136 UnicodeString str;
137 str = fmt->format(dt, str);
138 logln(str);
140 if(str != "5/3/97, 8:55 AM")
141 errln("Fail: Test broken; Want 5/3/97, 8:55 AM Got " + str);
202 UnicodeString str(dst);
204 (UnicodeString)", \"" + str + (UnicodeString)"\", " +
207 UnicodeString exp = expected[i];
208 if((exp.length() == 0 && str.length() == 0) || str == exp)
211 errln(UnicodeString(" expected ") + exp);
264 UDate exp = dates[i];
267 logln(s + " -> " + got + "; exp " + exp);
268 if(got != exp)
306 void DateFormatRegressionTest::aux917( SimpleDateFormat *fmt, UnicodeString& str ) {
312 " string=" + str );
318 fmt->parseObject( str, o, pos );
327 if( formatted != str)
328 errln("Fail: Want " + str + " Got " + formatted);
841 UDate exp = dates[i];
850 if (! ((d == 0 && exp == -1) || (d == exp)))
851 errln((UnicodeString) "Fail: Expected result " + exp);
1151 UnicodeString str(STRINGS[i]);
1154 UDate actual = fmt.parse(str, status);
1167 out.append(str + " => " + actStr + "\n");
1176 out.append("FAIL: " + str + " => " + actStr