Home
last modified time | relevance | path

Searched refs:formatResult (Results 1 – 8 of 8) sorted by relevance

/external/icu/icu4c/source/test/intltest/
Ditrbnfrt.cpp295 UnicodeString formatResult; in doTest() local
296 formatter->format(i, formatResult); in doTest()
299 formatter->parse(formatResult, parseResult, status); in doTest()
322 UnicodeString formatResult; in doTest() local
323 formatter->format(d, formatResult); in doTest()
326 formatter->parse(formatResult, parseResult, status); in doTest()
340 msg.append(formatResult); in doTest()
Ddtfmttst.cpp917 UnicodeString formatResult; (*(DateFormat*)&sdf).format(d, formatResult); in tryPattern() local
918 logln((UnicodeString)" format -> " + formatResult); in tryPattern()
920 UDate d2 = sdf.parse(formatResult, status); in tryPattern()
921 logln((UnicodeString)" parse(" + formatResult + ") -> " + dateToString(d2)); in tryPattern()
925 if (!(formatResult == format2)) errln((UnicodeString)"FAIL: Round trip drift"); in tryPattern()
4483 UnicodeString formatResult(""); in TestDateFormatLeniency() local
4484 sdmft->format(d, formatResult); in TestDateFormatLeniency()
4485 if(formatResult.compare(itemPtr->expectedResult) != 0) { in TestDateFormatLeniency()
4486 …Ptr->pattern+"] expected[" + itemPtr->expectedResult + "] but result was[" + formatResult + "]"); in TestDateFormatLeniency()
4489 logln("formatted results match! - " + formatResult); in TestDateFormatLeniency()
[all …]
Dtufmtts.cpp138 char formatResult[1000]; in testBasic() local
139 formatted.extract(0, formatted.length(), formatResult, "UTF-8"); in testBasic()
140 std::cout << "format result: " << formatResult << "\n"; in testBasic()
Dnumfmtst.cpp3885 UnicodeString formatResult = ctou(DATA[i][resultDataIndex]); in TestCurrencyIsoPluralFormat() local
3886 if (strBuf.compare(formatResult)) { in TestCurrencyIsoPluralFormat()
3887 errln("FAIL: Expected " + formatResult + " actual: " + strBuf); in TestCurrencyIsoPluralFormat()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDateFormatTest.java1744 String formatResult = ((DateFormat) sdf).format(d); in tryPattern() local
1745 logln(" format -> " + formatResult); in tryPattern()
1747 Date d2 = sdf.parse(formatResult); in tryPattern()
1748 logln(" parse(" + formatResult + ") -> " + d2); in tryPattern()
1753 if (!formatResult.equals(format2)) in tryPattern()
DNumberFormatTest.java1078 String formatResult = DATA[i][resultDataIndex]; in TestCurrencyIsoPluralFormat() local
1079 if (!strBuf.equals(formatResult)) { in TestCurrencyIsoPluralFormat()
1080 errln("FAIL: Expected " + formatResult + " actual: " + strBuf); in TestCurrencyIsoPluralFormat()
2316 String formatResult = mfmt.format(target); in TestCases() local
2318 str, formatResult); in TestCases()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateFormatTest.java1740 String formatResult = ((DateFormat) sdf).format(d); in tryPattern() local
1741 logln(" format -> " + formatResult); in tryPattern()
1743 Date d2 = sdf.parse(formatResult); in tryPattern()
1744 logln(" parse(" + formatResult + ") -> " + d2); in tryPattern()
1749 if (!formatResult.equals(format2)) in tryPattern()
DNumberFormatTest.java1074 String formatResult = DATA[i][resultDataIndex]; in TestCurrencyIsoPluralFormat() local
1075 if (!strBuf.equals(formatResult)) { in TestCurrencyIsoPluralFormat()
1076 errln("FAIL: Expected " + formatResult + " actual: " + strBuf); in TestCurrencyIsoPluralFormat()
2312 String formatResult = mfmt.format(target); in TestCases() local
2314 str, formatResult); in TestCases()