Lines Matching refs:result
148 Formattable result;
154 form->parse(buffer, result, parsePos);
155 logln(UnicodeString(" -> ") /* + << dec*/ + toString(result) + UnicodeString("[supposed output for result]"));
184 UnicodeString result;
185 // {sfb} use double format in pattern, so result will match (not strictly necessary)
193 logln("The output pattern is : " + fmt->toPattern(result));
194 if (pattern != result) {
326 UnicodeString result;
329 form->format(testArgs, count, result, fieldpos, success);
335 if (result != testResultStrings[i]) {
337 UnicodeString("\n Result: ") + result +
340 UnicodeString("\n Result: ") + result +
345 //it_out << "Result: " << result);
354 Formattable* values = form->parse(result, parseCount, success);
406 UnicodeString result;
407 result = MessageFormat::format(
411 result,
422 if (result != expected) {
424 UnicodeString("\n Result: ") + result +
442 UnicodeString result;
443 result = MessageFormat::format(
447 result,
457 if (result != expected) {
459 errln( UnicodeString(" Result: ") + result );
658 UnicodeString result;
663 msgFmt->format( args , numOfArgs , result, ignore, status);
667 //Compare expected with obtained result
668 if ( result!= expected ) {
670 err+= UnicodeString(":Unexpected Result \n Expected: " + expected + "\n Obtained: " + result + "\n");
990 UnicodeString result;
1009 result = "";
1011 result = msg.format(
1014 result,
1018 logln(result);
1019 if (result != compareStrEng) {
1021 result.extract(0, result.length(), bbuf, sizeof(bbuf));
1022 dataerrln("*** MSG format err. - %s; result was %s", u_errorName(err), bbuf);
1042 result = "";
1043 result = msg.format(
1046 result,
1050 logln(result);
1051 if (result == compareStrGer) {
1076 UnicodeString result;
1086 result = "";
1088 result = msg.format(
1090 result,
1100 result = "";
1102 result = msg.format(
1104 result,
1110 logln("MSG format( Formattable&, ... ) result:" + result);
1111 if (result != compareStr) {
1144 errln("*** MSG parse (ustring, count, err) result err.");
1166 errln("*** MSG parse (ustring, parsepos., count) result err.");
1190 errln("*** MSG parse (ustring, Formattable, parsepos ) result err.");
1415 UnicodeString result;
1431 result = fmt1->format( &fargs, 1, resultStr, fp, status );
1450 result = fmt1->format( &fargs, 1, resultStr, fp, status );
1451 result = fmt2->format( &fargs, 1, resultStr, fp, status );
1452 result = fmt3->format( &fargs, 1, resultStr, fp, status );
1453 result = fmt4->format( &fargs, 1, resultStr, fp, status );
1510 UnicodeString result;
1511 msg.format(ARGS_OBJ, result, ec);
1512 if (result == expected) {
1513 logln(result);
1515 errln((UnicodeString)"FAIL: Got " + result +
1563 UnicodeString result;
1564 fmt->format(args, 1, result, fp, ec);
1565 logln((UnicodeString)"value: " + toString(args[0]) + " --> " + result + UnicodeString(" ec: ") + u_errorName(ec));
1568 Formattable* parseResult = fmt->parse(result, count, ec);
1717 UnicodeString result = MessageFormat::autoQuoteApostrophe(patterns[i], status);
1719 if (target != result) {
1723 int32_t len = result.extract(0, result.length(), buf2, BUF2_LEN);
1727 sprintf(buf, "[%2d] test \"%s\": target (\"%s\") != result (\"%s\")\n", i/2, patterns[i], patterns[i+1], buf2);
1859 UnicodeString result;
1861 m.format(args, 1, result, ignore, errorCode));
1866 result.remove();
1868 m.format(&argName, args, 1, result, errorCode));
1884 UnicodeString result;
1886 m.format(args, 1, result, ignore, errorCode), true);
1890 m.format(args, 1, result.remove(), ignore, errorCode), true);
1894 m.format(args, 1, result.remove(), ignore, errorCode), true);
1898 m.format(args, 1, result.remove(), ignore, errorCode), true);
1911 UnicodeString result;
1913 m.format(args, 1, result, ignore, errorCode), true);
1916 result.remove();
1918 m.format(args, 1, result, ignore, errorCode), true);
1925 result.remove();
1927 m0.format(args, 1, result, ignore, errorCode), true);
1930 result.remove();
1932 m0.format(args, 1, result, ignore, errorCode), true);
1939 result.remove();
1941 m1.format(args, 1, result, ignore, errorCode), true);
1944 result.remove();
1946 m1.format(args, 1, result, ignore, errorCode), true);
1949 result.remove();
1951 m1.format(args, 1, result, ignore, errorCode), true);
1958 result.remove();
1960 m2.format(args, 1, result, ignore, errorCode), true);
1963 result.remove();
1965 m2.format(args, 1, result, ignore, errorCode), true);
1968 result.remove();
1970 m2.format(args, 1, result, ignore, errorCode), true);
1980 UnicodeString result;
1982 assertEquals("a", "A", mf1.format(args, 1, result, ignore, errorCode));
1984 assertEquals("ab", "AB", mf1.format(args, 1, result.remove(), ignore, errorCode));
1986 assertEquals("abc", "ABC", mf1.format(args, 1, result.remove(), ignore, errorCode));
1994 assertEquals("a aa aaa", "A AB ABC", mf2.format(argNames, args, 3, result.remove(), errorCode));
1998 assertEquals("aa aaa", "AB ABC", mf3.format(argNames + 1, args + 1, 2, result.remove(), errorCode));