Commit Graph

395 Commits

Author SHA1 Message Date
gnrunge
1b62e2c851
ICU-20119 Fixes for run-without-data BRS test. In all cases an error (#177)
check was needed in the test cases to prevent a segmentation fault.
2018-09-27 14:27:42 -07:00
Peter Edberg
0185883ba5
ICU-20119 63rc BRS, merge current unicode-icu master (Sep 21) into cldr34a-integration branch 2018-09-27 14:27:41 -07:00
Peter Edberg
f5defe757b
ICU-20119 63rc BRS, merge current unicode-icu master into cldr34a-integration branch 2018-09-27 14:27:41 -07:00
Peter Edberg
b6074fe044
ICU-20119 63rc BRS, integrate cldr 34-alpha2, part 1 icu4c 2018-09-27 14:27:41 -07:00
Shane
a8a6ffdb92
ICU-20037 Fixing ScientificMatcher integer overflow. (#138)
Also restricts parsing to read only one exponent per string.
2018-09-27 14:27:41 -07:00
Shane
e5bca0c9f7
ICU-20073 Do not parse stray percent sign in strict mode. (#145) 2018-09-27 14:27:41 -07:00
Shane
71ad5adf4a
ICU-13850 Make CurrencyUnit safe with 1-length and 2-length strings. (#133)
Also adds expectError to IcuTestErrorCode.
2018-09-27 14:27:41 -07:00
Shane Carr
068ef1c265
ICU-20063 Make setSignificantDigitsUsed more friendly. 2018-09-27 14:27:40 -07:00
Shane
8cad57b56c
ICU-13696 Parse local currency ISO codes as case-insensitive. (#62) 2018-09-27 14:27:38 -07:00
Shane Carr
4bc6ad328b ICU-13850 Fixing behavior of ICU4C DecimalFormat#setCurrency() to accept an empty string.
X-SVN-Rev: 41549
2018-06-23 02:09:42 +00:00
Shane Carr
3f7a4aa202 ICU-13840 Fixing memory overflow issue in number_decimalquantity.cpp and adding tests.
X-SVN-Rev: 41541
2018-06-19 21:52:52 +00:00
Andy Heninger
c0f9d2eeef ICU-13807 ICU 62 No Data Testing fixes. Mostly to test code.
X-SVN-Rev: 41500
2018-06-01 01:19:38 +00:00
Shane Carr
4e55f07e42 ICU-13804 Fixing memory leak from r41497.
X-SVN-Rev: 41499
2018-06-01 01:02:49 +00:00
Shane Carr
dd7667d330 ICU-13804 Making number parsing code more robust when given empty symbol strings.
X-SVN-Rev: 41497
2018-06-01 00:31:54 +00:00
Shane Carr
4beed11456 ICU-13722 Removing obsolete constructs FmtStackData and UCONFIG_FORMAT_FASTPATHS_49.
X-SVN-Rev: 41457
2018-05-25 00:26:00 +00:00
Shane Carr
8e1dc1f3b1 ICU-13736 Change number parsing to require locale currency when using non-currency parse function.
X-SVN-Rev: 41450
2018-05-24 04:35:16 +00:00
Shane Carr
09a8f5609d ICU-11739 Replying to Andy code review comments.
X-SVN-Rev: 41449
2018-05-24 04:31:06 +00:00
Shane Carr
a9a2e5ff6d ICU-11645 Replying to Andy code review comments.
X-SVN-Rev: 41448
2018-05-24 04:26:26 +00:00
Shane Carr
58b7fe2e32 ICU-13777 Adding tests to make sure currency long names round-trip through parsing.
X-SVN-Rev: 41446
2018-05-24 04:16:35 +00:00
Shane Carr
2af33b7796 ICU-13763 Makes FieldPositionIterator offset by input string length in DecimalFormat, restoring ICU 61 behavior.
X-SVN-Rev: 41442
2018-05-23 21:08:53 +00:00
Shane Carr
c2412adb1e ICU-11626 Fixes ICU4C CurrencyPluralInfo unit tests. Also fixes a memory leak in CurrencyPluralInfo implementation.
X-SVN-Rev: 41431
2018-05-22 20:47:19 +00:00
Andy Heninger
a617526fe3 ICU-11640 fix memory leak in Test11640_TripleCurrencySymbol()
X-SVN-Rev: 41417
2018-05-20 20:46:10 +00:00
Shane Carr
8265a37aa4 ICU-11640 Minor code cleanup
X-SVN-Rev: 41415
2018-05-19 08:04:15 +00:00
Norbert Runge
2627d76fbe ICU-11640 Add test for triple currency digit prefix.
X-SVN-Rev: 41412
2018-05-18 20:17:33 +00:00
Shane Carr
649ce80f42 ICU-13740 Moving ICU4C data-driven number test to its own file, like in Java. De-clutters numfmtst.cpp. No behavior changes.
X-SVN-Rev: 41397
2018-05-17 03:04:41 +00:00
Shane Carr
955e0d9319 ICU-11897 Changing kPatternSeparatorSymbol to be a constant ";" and not loaded from data.
X-SVN-Rev: 41380
2018-05-16 01:01:22 +00:00
Shane Carr
cb34c90168 ICU-13737 Backpedaling on strict mode scientific parsing behavior change (do NOT require an exponent when parsing).
X-SVN-Rev: 41378
2018-05-15 21:14:09 +00:00
Andy Heninger
0f64f94ed6 ICU-11647 Windows failure with Test11647_PatternCurrencySymbols()
X-SVN-Rev: 41373
2018-05-13 02:02:07 +00:00
Andy Heninger
b2c77dc391 ICU-11020 Test11020(), port from Java. Rounding in Scientific Format.
X-SVN-Rev: 41372
2018-05-13 01:26:42 +00:00
Andy Heninger
a6da272f2d ICU-11913 Port Test11913() from Java. Big Decimal formatting w more than 309 digits.
X-SVN-Rev: 41371
2018-05-13 01:07:24 +00:00
Andy Heninger
a1c0ac5b14 ICU-11647 Port Test11647() from Java - pattern w four currency symbols.
X-SVN-Rev: 41370
2018-05-12 22:37:33 +00:00
Jeff Genovy
31ead7f739 ICU-13725 Fix a few more MSVC warnings.
X-SVN-Rev: 41368
2018-05-09 07:51:43 +00:00
Shane Carr
1fe1497d88 ICU-13661 Renaming logIfFailureAndReset to errIfFailureAndReset.
X-SVN-Rev: 41362
2018-05-08 23:55:47 +00:00
Shane Carr
8db1bee493 ICU-10354 Adding infinite loop check to test.
X-SVN-Rev: 41357
2018-05-08 04:26:01 +00:00
Shane Carr
fe80cdba39 ICU-11649 Minor test tweaks.
X-SVN-Rev: 41355
2018-05-08 04:07:00 +00:00
Shane Carr
13b7b40097 ICU-11648 Minor tweaks to test.
X-SVN-Rev: 41354
2018-05-08 04:02:02 +00:00
Craig Cornelius
01c86126de ICU-13148 Add test for parsing grouping separators
X-SVN-Rev: 41353
2018-05-08 01:21:56 +00:00
Andy Heninger
d71db01650 ICU-13055 Fix memory leak in Test13055_PercentageRounding()
X-SVN-Rev: 41352
2018-05-08 00:35:56 +00:00
Andy Heninger
f30f4b7ceb ICU-11739 fix memory leak in Test11739_ParseLongCurrency().
X-SVN-Rev: 41351
2018-05-08 00:31:26 +00:00
Andy Heninger
5fe126b793 ICU-12753 Add PatternDecimalPoint() test.
X-SVN-Rev: 41350
2018-05-08 00:14:27 +00:00
Markus Scherer
9be84eb03c ICU-11626 port NumberFormatTest.TestCurrencyPluralInfoAndCustomPluralRules to C++
X-SVN-Rev: 41349
2018-05-07 23:54:36 +00:00
Andy Heninger
e53fdc14a6 ICU-11025 Add Test11025_CurrencyPadding()
X-SVN-Rev: 41348
2018-05-07 23:45:11 +00:00
Craig Cornelius
16472502b5 ICU-11649 Add test for Decimal Format of Currencies
X-SVN-Rev: 41347
2018-05-07 23:40:14 +00:00
Craig Cornelius
aeaeb8397b ICU-11648 Re-add test for DecimalFormat::toPattern
X-SVN-Rev: 41346
2018-05-07 23:29:05 +00:00
Craig Cornelius
614a3441db ICU-11648 Reverting commit r11336
X-SVN-Rev: 41345
2018-05-07 23:20:37 +00:00
Andy Heninger
ac9d29eed6 ICU-11646 DecimalFormat equality test, add error check.
X-SVN-Rev: 41344
2018-05-07 23:16:16 +00:00
Andy Heninger
1e375dbbcc ICU-13056 NumberFormatTest Test GroupingSize
X-SVN-Rev: 41343
2018-05-07 23:05:50 +00:00
Markus Scherer
3f5950349a ICU-12961 port NumberFormatTest.TestLocalizedPatternSymbolCoverage to C++
X-SVN-Rev: 41341
2018-05-07 23:03:56 +00:00
Norbert Runge
51f4b85f7c ICU-13055 Fix percentage rounding.
X-SVN-Rev: 41340
2018-05-07 22:40:41 +00:00
Shane Carr
cc5fca2744 ICU-13035 Adding test to ICU4C for padding code point.
X-SVN-Rev: 41339
2018-05-07 22:37:02 +00:00