Lines Matching refs:UnicodeString
45 UnicodeString monthNames[] = {"Sun","Mon","Tue","Wed","Thur","Fri","Sat"};
49 UnicodeString str;
50 UnicodeString res1, res2;
68 it_logln(UnicodeString("") + ix + UnicodeString(" -> ") + res1 + UnicodeString(" -> ") + res2);
72 const UnicodeString filepart[] = {"are no files","is one file","are {2} files"};
93 errln((UnicodeString)"getLimits didn't get the limits correctly. Expected " + limits[ix] + " Got " + gotLimits[ix]);
98 UnicodeString *gotFormats=0;
99 gotFormats=(UnicodeString*)form->getFormats(count);
105 errln((UnicodeString)"getFormats didn't get the Formats correctly. Expected " + monthNames[ix] + " Got " + gotFormats[ix]);
119 const UnicodeString filepart[] = {"are corrupted files", "are no files","is one file","are {2} files"};
130 dataerrln((UnicodeString)"*** test_complex_example filenumform - " + u_errorName(status));
162 UnicodeString str;
163 UnicodeString res1, res2;
176 UnicodeString checkstr[] = {
208 it_logln(i + UnicodeString(" -> ") + res2);
211 it_errln(UnicodeString("*** ") + i + UnicodeString(" -> '") + res2 + UnicodeString("' unlike '") + checkstr[i] + UnicodeString("' ! "));
231 const UnicodeString* retFormats = fileform->getFormats( retCount );
242 UnicodeString checkstr2[] = {
272 it_logln(UnicodeString() + i + UnicodeString(" -> ") + res2);
275 it_errln(UnicodeString("*** ") + i + UnicodeString(" -> '") + res2 + UnicodeString("' unlike '") + checkstr2[i] + UnicodeString("' ! "));
280 const UnicodeString monthNames_A[] = {"Sun","Mon","Tue","Wed","Thur","Fri","Sat"};
284 const UnicodeString monthNames_B[] = {"Sun","Mon","Tue","Wed","Thur","Fri","Sat_BBB"};
344 UnicodeString s_a2[] = { "third", "forth" };
348 it_logln(UnicodeString("ChoiceFormat adoptChoices toPattern: ") + res1);
360 it_logln(UnicodeString("ChoiceFormat format:") + res1);
368 it_logln(UnicodeString("ChoiceFormat format:") + res1);
376 it_logln(UnicodeString("ChoiceFormat format:") + res1);
390 it_logln(UnicodeString("ChoiceFormat format:") + res1);
404 it_logln(UnicodeString("ChoiceFormat format:") + res1);
409 UnicodeString parsetext("third");
460 UnicodeString fmts[] = {
475 UnicodeString str;
512 UnicodeString exp[] = {
536 logln((UnicodeString)"Ok: " + x + " => " + str);
538 errln((UnicodeString)"FAIL: " + x + " => " + str +
559 logln((UnicodeString)"Ok: " + pattern + " failed");
561 logln((UnicodeString)"FAIL: " + pattern + " accepted");
566 errln((UnicodeString)"FAIL: ChoiceFormat(" + pattern + ") failed");
569 logln((UnicodeString)"Ok: Pattern: " + pattern);
571 UnicodeString out;
572 logln((UnicodeString)" toPattern: " + fmt.toPattern(out));
580 logln((UnicodeString)"Ok: " + v[i] + " => " + out);
582 errln((UnicodeString)"FAIL: " + v[i] + " => " + out +
622 UnicodeString monthNames[] = { "one", "two", "three" };
624 UnicodeString patStr, expectedPattern1("1e-79#one|10000000000000#two|1e+77#three"),