Lines Matching refs:UnicodeString
108 UnicodeString result;
112 UnicodeString expected(text1);
115 errln((UnicodeString)"expected '" + TestUtility::hex(expected) + "'\nbut got: '" + TestUtility::hex(result) + "'");
124 UnicodeString expected(text2);
128 errln((UnicodeString)"expected '" + TestUtility::hex(expected) + "'\nbut got: '" + TestUtility::hex(result) + "'");
190 UnicodeString desc;
209 RuleBasedNumberFormat nf(spelloutRules, (UnicodeString)"", Locale::getUS(), perror, status);
220 UnicodeString rules = formatter->getRules();
246 UnicodeString ruleSetName;
253 UnicodeString intFormatResult, doubleFormatResult;
302 UnicodeString expected("four point five","");
304 UnicodeString result;
346 UnicodeString fracRules(
1662 UnicodeString rules("%main:0:no;1:some;100:a lot;1000:tons;\n"
1683 UnicodeString loc("<<%main, %other>,<en, Main, Other>,<fr, leMain, leOther>,<de, 'das Main', 'etwas anderes'>>");
1702 UnicodeString name = formatter0.getRuleSetName(0);
1719 UnicodeString name = formatter0.getRuleSetName(j);
1720 UnicodeString lname = formatter0.getRuleSetDisplayName(j, locale);
1721 UnicodeString msg = locale.getName();
1775 UnicodeString loc(goodLocs[i]);
1785 UnicodeString loc(badLocs[i]);
1829 errln(UnicodeString(loc->getName()) + names[j]
1836 UnicodeString str;
1839 logln(UnicodeString(loc->getName()) + names[j]
1854 logln(UnicodeString(loc->getName()) + names[j]
1857 errln(UnicodeString(loc->getName()) + names[j]
1868 logln(UnicodeString(loc->getName()) + names[j]
1871 errln(UnicodeString(loc->getName()) + names[j]
1885 UnicodeString rules("=#,##0=;1,000,000: <##0.###< million;");
1891 UnicodeString res;
1897 UnicodeString expected = UNICODE_STRING_SIMPLE("1.234 million");
1899 UnicodeString msg = "Expected: ";
1931 UnicodeString actualString;
1935 UnicodeString msg = "Fail: formatter could not format ";
1940 UnicodeString expectedString = UnicodeString(expectedWords, -1, US_INV).unescape();
1942 UnicodeString msg = "FAIL: check failed for ";
1956 UnicodeString msg = "FAIL: formatter could not parse ";
1964 UnicodeString msg = "FAIL: parse failed for ";
1994 UnicodeString spelledNumberString = UnicodeString(spelledNumber).unescape();
1998 UnicodeString msg = "FAIL: formatter could not parse ";
2007 UnicodeString asciiUSNumberString = asciiUSNumber;
2011 UnicodeString msg = "FAIL: decFmt could not parse ";
2016 UnicodeString actualNumberString;
2017 UnicodeString expectedNumberString;
2021 UnicodeString msg = "FAIL: parsing";