Home
last modified time | relevance | path

Searched refs:stringToBeParsed (Results 1 – 3 of 3) sorted by relevance

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DNumberFormatTest.java448 String stringToBeParsed = DATA[i][0]; in TestSpaceParsing() local
452 Number result = foo.parse(stringToBeParsed, parsePosition); in TestSpaceParsing()
455 …errln("FAILED parse " + stringToBeParsed + "; parse position: " + parsePosition.getIndex() + "; er… in TestSpaceParsing()
459 errln("FAILED parse " + stringToBeParsed + "; value " + result.doubleValue()); in TestSpaceParsing()
580 String stringToBeParsed = formats[i]; in TestCurrencyFormatForMixParsing() local
581 CurrencyAmount parsedVal = (CurrencyAmount)curFmt.parseObject(stringToBeParsed); in TestCurrencyFormatForMixParsing()
646 String stringToBeParsed = DATA[i][0]; in TestDecimalFormatCurrencyParse() local
648 Number num = fmt.parse(stringToBeParsed); in TestDecimalFormatCurrencyParse()
827 String stringToBeParsed = DATA[i][0]; in TestMiscCurrencyParsing() local
834 Number val = numFmt.parse(stringToBeParsed, parsePosition); in TestMiscCurrencyParsing()
[all …]
/external/icu/icu4c/source/test/intltest/
Dnumfmtst.cpp3316 UnicodeString stringToBeParsed = ctou(DATA[i].stringToParse); in TestSpaceParsing() local
3321 foo->parse(stringToBeParsed, result, parsePosition); in TestSpaceParsing()
3322 logln("Parsing: " + stringToBeParsed); in TestSpaceParsing()
3325 …errln("FAILED parse " + stringToBeParsed + "; lenient: " + DATA[i].lenient + "; wrong position, ex… in TestSpaceParsing()
3330 …errln("FAILED parse " + stringToBeParsed + "; wrong number, expect: 124, got " + result.getLong()); in TestSpaceParsing()
3531 UnicodeString stringToBeParsed = ctou(formats[i]); in TestCurrencyFormatForMixParsing() local
3532 logln(UnicodeString("stringToBeParsed: ") + stringToBeParsed); in TestCurrencyFormatForMixParsing()
3535 curFmt->parseObject(stringToBeParsed, result, status); in TestCurrencyFormatForMixParsing()
3622 UnicodeString stringToBeParsed = ctou(DATA[i][0]); in TestDecimalFormatCurrencyParse() local
3626 fmt->parse(stringToBeParsed, result, status); in TestDecimalFormatCurrencyParse()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DNumberFormatTest.java445 String stringToBeParsed = DATA[i][0]; in TestSpaceParsing() local
449 Number result = foo.parse(stringToBeParsed, parsePosition); in TestSpaceParsing()
452 …errln("FAILED parse " + stringToBeParsed + "; parse position: " + parsePosition.getIndex() + "; er… in TestSpaceParsing()
456 errln("FAILED parse " + stringToBeParsed + "; value " + result.doubleValue()); in TestSpaceParsing()
577 String stringToBeParsed = formats[i]; in TestCurrencyFormatForMixParsing() local
578 CurrencyAmount parsedVal = (CurrencyAmount)curFmt.parseObject(stringToBeParsed); in TestCurrencyFormatForMixParsing()
643 String stringToBeParsed = DATA[i][0]; in TestDecimalFormatCurrencyParse() local
645 Number num = fmt.parse(stringToBeParsed); in TestDecimalFormatCurrencyParse()
824 String stringToBeParsed = DATA[i][0]; in TestMiscCurrencyParsing() local
831 Number val = numFmt.parse(stringToBeParsed, parsePosition); in TestMiscCurrencyParsing()
[all …]