• Home
  • Raw
  • Download

Lines Matching refs:parseResult

3718             Formattable parseResult;  in TestCurrencyIsoPluralFormat()  local
3719 numFmt->parse(oneCurrencyFormatResult, parseResult, status); in TestCurrencyIsoPluralFormat()
3721 (parseResult.getType() == Formattable::kDouble && in TestCurrencyIsoPluralFormat()
3722 parseResult.getDouble() != numberToBeFormat) || in TestCurrencyIsoPluralFormat()
3723 (parseResult.getType() == Formattable::kLong && in TestCurrencyIsoPluralFormat()
3724 parseResult.getLong() != numberToBeFormat)) { in TestCurrencyIsoPluralFormat()
3727 if (parseResult.getType() == Formattable::kDouble) { in TestCurrencyIsoPluralFormat()
3728 … errln((UnicodeString)"expected: " + numberToBeFormat + "; actual: " +parseResult.getDouble()); in TestCurrencyIsoPluralFormat()
3730 … errln((UnicodeString)"expected: " + numberToBeFormat + "; actual: " +parseResult.getLong()); in TestCurrencyIsoPluralFormat()
3833 Formattable parseResult; in TestCurrencyParsing() local
3835 numFmt->parse(oneCurrencyFormatResult, parseResult, status); in TestCurrencyParsing()
3837 (parseResult.getType() == Formattable::kDouble && in TestCurrencyParsing()
3838 parseResult.getDouble() != numberToBeFormat) || in TestCurrencyParsing()
3839 (parseResult.getType() == Formattable::kLong && in TestCurrencyParsing()
3840 parseResult.getLong() != numberToBeFormat)) { in TestCurrencyParsing()
3843 if (parseResult.getType() == Formattable::kDouble) { in TestCurrencyParsing()
3844 …n((UnicodeString)"expected: " + numberToBeFormat + "; actual (double): " +parseResult.getDouble()); in TestCurrencyParsing()
3846 …errln((UnicodeString)"expected: " + numberToBeFormat + "; actual (long): " +parseResult.getLong()); in TestCurrencyParsing()
8765 Formattable parseResult; in TestParseNaN() local
8766 df.parse(u"NaN", parseResult, status); in TestParseNaN()
8767 assertEquals("NaN should parse successfully", NAN, parseResult.getDouble()); in TestParseNaN()
8768 assertFalse("Result NaN should be positive", std::signbit(parseResult.getDouble())); in TestParseNaN()
8770 df.format(parseResult.getDouble(), formatResult); in TestParseNaN()