Lines Matching refs:format
120 selFmt->format(UnicodeString("odd"), format_result, format_ignore, status);
124 selFmt->format(UnicodeString("other"), format_result, format_ignore, status);
130 logln("SelectFormat Unit Test : Creating format object for Testing applying various patterns");
140 logln("SelectFormat Unit test: Testing applyPattern() and format() ...");
152 //Format with the keyword array
155 selFmt->format( formatArgs[j], result , ignore , status);
157 errln("ERROR: SelectFormat Unit test failed in format() with argument: "+ formatArgs[j] + " and error is " + u_errorName(status) );
160 errln("ERROR: SelectFormat Unit test failed in format() with unexpected result\n with argument: "+ formatArgs[j] + "\n result obtained: " + result + "\n and expected is: " + expFormatResult[i][j] );
168 logln("SelectFormat Unit test: Testing format() with keyword method and with invalid keywords...");
188 selFmt->format( keywords[i], result , ignore , status);
190 errln("ERROR: SelectFormat Unit test failed in format() with keyWord and with an invalid keyword as : "+
294 // ======= Test different format() methods
295 logln("SelectFormat API test: Testing format() with keyword method ...");
301 selFmt1->format( keyWord, result , ignore , status1);
303 errln("ERROR: SelectFormat API test failed in format() with keyWord: "+ keyWord);
307 errln("ERROR: SelectFormat API test failed in format() with unexpected result with keyWord: "+ keyWord);
311 logln("SelectFormat API test: Testing format() with Formattable obj method ...");
316 selFmt1->format( testArgs, result1 , ignore , status1);
318 errln("ERROR: SelectFormat API test failed in format() with Formattable");
322 errln("ERROR: SelectFormat API test failed in format() with unexpected result with Formattable");