Lines Matching refs:format
132 logln("SelectFormat Unit Test : Creating format object for Testing applying various patterns");
142 logln("SelectFormat Unit test: Testing applyPattern() and format() ...");
154 //Format with the keyword array
157 selFmt->format( formatArgs[j], result , ignore , status);
159 errln("ERROR: SelectFormat Unit test failed in format() with argument: "+ formatArgs[j] + " and error is " + u_errorName(status) );
162 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] );
169 logln("SelectFormat Unit test: Testing format() with keyword method and with invalid keywords...");
187 selFmt->format( keywords[i], result , ignore , status);
189 errln("ERROR: SelectFormat Unit test failed in format() with keyWord and with an invalid keyword as : "+ keywords[i]);
292 // ======= Test different format() methods
293 logln("SelectFormat API test: Testing format() with keyword method ...");
299 selFmt1->format( keyWord, result , ignore , status1);
301 errln("ERROR: SelectFormat API test failed in format() with keyWord: "+ keyWord);
305 errln("ERROR: SelectFormat API test failed in format() with unexpected result with keyWord: "+ keyWord);
309 logln("SelectFormat API test: Testing format() with Formattable obj method ...");
314 selFmt1->format( testArgs, result1 , ignore , status1);
316 errln("ERROR: SelectFormat API test failed in format() with Formattable");
320 errln("ERROR: SelectFormat API test failed in format() with unexpected result with Formattable");