Home | History | Annotate | Download | only in intltest

Lines Matching full:logln

103 #define CASE(id,test) case id: name = #test; if (exec) { logln(#test "---"); logln((UnicodeString)""); test(); } break
108 // if (exec) logln((UnicodeString)"TestSuite NumberFormatRegressionTest");
248 logln("NumberFormat.equals passed");
272 logln("Test for bug 4074620 passed.");
293 logln(UnicodeString("d = ") + d);
294 logln("maxFractionDigits = " + df->getMaximumFractionDigits());
296 logln(" format(d) = '" + df->format(d, sBuf1, fp1) + "'");
300 logln("maxFractionDigits = " + df->getMaximumFractionDigits());
328 logln(UnicodeString("format(") + n + ") = " +
331 logln(UnicodeString("format(") + n + ") = " +
377 logln(df->format((int32_t)123, sBuf, fp));
400 logln(UnicodeString(" VALUE ") + returnfloat);
411 logln(" DISPLAYVALUE " + stringValue);
459 logln("Test Passed!");
485 logln("0.00159999 formats with 4 fractional digits to " + out);
519 logln("nf toPattern1: " + nf->toPattern(temp));
520 logln("nf toLocPattern1: " + nf->toLocalizedPattern(temp));
523 logln("...applyLocalizedPattern ###,00;(###,00) ");
526 logln("nf toPattern2: " + nf->toPattern(temp));
527 logln("nf toLocPattern2: " + nf->toLocalizedPattern(temp));
530 logln("nf: " + nf->format((int32_t)1234, temp, pos)); // 1234,00
531 logln("nf: " + nf->format((int32_t)-1234, temp, pos)); // (1234,00)
535 logln("...applyLocalizedPattern # ###,00;(# ###,00) ");
545 logln("nf toPattern2: " + nf->toPattern(temp));
546 logln("nf toLocPattern2: " + nf->toLocalizedPattern(temp));
579 logln("----- Test Application -----");
614 logln(it.Now());
619 logln("Saved ok.");
624 logln(it2.Now());
626 logln("Loaded ok.");
650 logln("toPattern() returns \"" + df->toPattern(temp) + "\"");
653 logln("Caught Illegal Argument Error !");
660 logln("toPattern() returns \"" + df->toPattern(temp) + "\"");
663 logln("Ok - IllegalArgumentException for #0.0#0#0");
687 logln(UnicodeString("d = ") + d);
688 //logln("BigDecimal.toString(): " + bd.toString());
702 logln(UnicodeString("d = ") + d);
718 logln(UnicodeString(" getMaximumFractionDigits() = ") + i);
719 logln(UnicodeString(" formated: ") + df->format(d, sb, fp));
747 logln(UnicodeString("") + d1);
771 logln("Long.MIN_VALUE : " + df.parse(str, new ParsePosition(0)).toString());
801 logln(dfFoo->format((int32_t)42, temp, pos));
802 logln(dfFoo->format((int32_t)-42, temp, pos));
807 logln(dfFoo->format((int32_t)42,temp, pos));
808 logln(dfFoo->format((int32_t)-42, temp, pos));
814 logln(dfFoo->format((int32_t)42, temp, pos));
815 logln(dfFoo->format((int32_t)-42, temp, pos));
821 logln(dfFoo->format((int32_t)42, temp, pos));
822 logln(dfFoo->format((int32_t)-42, temp, pos));
870 logln(UnicodeString("OK: 1.23 -> \"") + str + "\" contains \"" +
919 logln ("Bug 4070798 default test passed.");
933 logln ("Bug 4070798 currency test passed.");
948 logln ("Bug 4070798 percentage test passed.");
991 logln ("Bug 4071005 default test passed.");
1005 logln ("Bug 4071005 currency test assed.");
1019 logln ("Bug 4071005 percentage test passed.");
1060 logln ("Bug 4071014 default test passed.");
1074 logln ("Bug 4071014 currency test assed.");
1088 logln ("Bug 4071014 percentage test passed.");
1125 logln ("Bug 4071859 default test passed.");
1139 logln ("Bug 4071859 currency test assed.");
1153 logln ("Bug 4071859 percentage test passed.");
1199 logln(UnicodeString("") + x + " formats with 1 fractional digits to " + out);
1219 logln(fmt->format(.001, temp));
1241 logln("Inconsistent negative pattern is fine.");
1283 logln("Bug 4099404 pattern \"000.0#0\" passed");
1292 logln("Bug 4099404 pattern \"0#0.000\" passed");
1333 logln("Caught expected ParseException : " + foo.getMessage() + " at index : " + foo.getErrorOffset());
1356 logln((UnicodeString)"Before set ==> Currency : " + currency +(UnicodeString)" Intl Currency : " + intlCurrency + (UnicodeString)" Monetary Decimal Separator : " + monDecSeparatorStr);
1370 logln("After set ==> Currency : " + currency + " Intl Currency : " + intlCurrency + " Monetary Decimal Separator : " + monDecSeparatorStr);
1462 logln("pattern: \"" + df->toPattern(temp) + "\"");
1491 logln("pattern: \"" + df->toPattern(temp) + "\"");
1557 logln("formated: " +
1562 //logln("expected: " + bigN.toString());
1563 logln(UnicodeString("expected: ") + buf);
1587 logln("pattern: \"" + df->toPattern(temp) + "\"");
1621 logln("setMaximumIntegerDigits(MAX_INT_DIGITS)");
1762 logln("toPattern: " + formatDec->toPattern(temp));
1772 logln("toPattern: " + formatDec->toPattern(temp));
1794 logln(f + " ok");
1801 logln(f + " ok");
1856 logln("Ok: 1.2 x " + DATA[i] + " = " + result);
1961 logln("Ok \"" + PATS[i] + "\" toPattern() -> \"" + pat + '"');
1964 logln(UnicodeString("Ok ") + pi + " x \"" + PATS[i] + "\" -> \"" +
1994 logln("Applying pattern \"" + pattern + "\"");
2004 logln("Test passed");
2005 logln(UnicodeString(" Minimum integer digits : ") + minIntDig);
2083 logln(UnicodeString("The number ") + dbl + " formatted to " + s);
2094 //logln("The string " + s + " parsed as " + n);
2132 logln(UnicodeString("") +
2140 logln("Failed to parse negative zero");
2169 logln(UnicodeString("") + a + " -> \"" + s + "\" -> " +
2277 logln(UnicodeString("Ok: ") + in + " x " + pat + " = " + out);
2433 logln(UnicodeString("PASS: ") + type[j] + avail[i].getDisplayName(l) +
2552 logln(UnicodeString() + a + " x " +
2581 logln(UnicodeString("Ok ") + NUM[i] + " x 0. = " + str);
2610 logln(UnicodeString("Ok 0.0 x #.# = ") + str);
2622 logln(UnicodeString("Ok 99.99 / #.# = ") + toString(val));
2631 logln(UnicodeString("Ok 0.0 x #.# = ") + str);
2920 logln("unum_parse status %s, result %d\n", u_errorName(status), n);
2923 logln("Got expected parse error %s\n", u_errorName(status));
2933 logln("removed positive prefix");
2938 logln("unum_parse status %s, result %d\n", u_errorName(status), n);
2947 logln("PASS: with pos prefix removed , unum_parse status %s, result %d expected 123456789\n", u_errorName(status),n);
2954 logln("unum_parse status %s, result %d\n", u_errorName(status), n);
2957 logln("text2: Got expected parse error %s\n", u_errorName(status));
2967 logln("Set a different neg prefix prefix");
2972 logln("unum_parse status %s, result %d\n", u_errorName(status), n);
2982 logln("PASS: with different neg prefix , unum_parse status %s, result %d expected -123456789\n", u_errorName(status), n);