Commit Graph

358 Commits

Author SHA1 Message Date
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
Andy Heninger
8f7040d418 ICU-11646 Add NumberFormatTest::Test11646_Equality()
X-SVN-Rev: 41338
2018-05-07 22:33:41 +00:00
Markus Scherer
cee964917a ICU-11839 port NumberFormatTest.Test11839 to C++
X-SVN-Rev: 41337
2018-05-07 22:32:05 +00:00
Craig Cornelius
80b94957c3 ICU-11648 Add test for DecimalFormat::toPattern
X-SVN-Rev: 41336
2018-05-07 22:19:10 +00:00
Markus Scherer
8b67b86c79 ICU-12567 port NumberFormatTest.Test12567 to C++
X-SVN-Rev: 41335
2018-05-07 22:07:43 +00:00
Shane Carr
66510b153f ICU-11739 Adding ICU4C test for parse long currency.
X-SVN-Rev: 41334
2018-05-07 21:47:09 +00:00
Shane Carr
076cee9ad6 ICU-11645 Adding C++ test for apply-pattern equality.
X-SVN-Rev: 41333
2018-05-07 21:30:33 +00:00
Markus Scherer
5cf4bdf6db ICU-10354 port NumberFormatTest.Test10354 to C++
X-SVN-Rev: 41332
2018-05-07 21:21:18 +00:00
Shane Carr
28e9f69378 ICU-11897 Adding tests for localized pattern separator symbol.
X-SVN-Rev: 41292
2018-04-28 07:27:02 +00:00
Shane Carr
e77603e3c3 ICU-13725 Fixing various number test failures in MSVC.
X-SVN-Rev: 41281
2018-04-26 01:33:59 +00:00
Shane Carr
f412770e9d ICU-13634 A few more DecimalFormat optimizations.
X-SVN-Rev: 41257
2018-04-21 06:00:56 +00:00
Shane Carr
1aa5185a36 ICU-13700 Renaming new getter/setter to magnitudeScale.
X-SVN-Rev: 41246
2018-04-18 23:55:55 +00:00
Shane Carr
3c9b343282 ICU-13634 Adding "formatFailIfMoreThanMaxDigits" property to C++ NumberFormatter. Changing getSecondaryGroupingSize() for backwards compatibility. Other assorted test changes.
X-SVN-Rev: 41239
2018-04-18 03:59:39 +00:00
Shane Carr
354afa4e79 ICU-13697 Adding data-loading logic for parseLenients sets in CLDR. Ties the sets in with number and currency parsing in ICU4C and ICU4J.
X-SVN-Rev: 41223
2018-04-12 10:59:37 +00:00
Shane Carr
af0f8e62e4 ICU-13634 In accordance with ICU-TC meeting, changing percent parsing behavior to be closer to that of ICU 60.
X-SVN-Rev: 41222
2018-04-12 06:49:24 +00:00
Shane Carr
6c1714870f ICU-13634 Updating test expectations for strict currency position in strict mode. Other minor changes. All but one test is now passing in numfmtst.cpp.
X-SVN-Rev: 41220
2018-04-12 05:15:19 +00:00
Shane Carr
5f57f04466 ICU-13634 Updating test expectations for the default currency long name.
X-SVN-Rev: 41218
2018-04-12 04:04:23 +00:00
Shane Carr
2c6bf0d77e ICU-13634 Refactoring affix-getting code to avoid the need to save the micro-props. Other assorted minor changes.
X-SVN-Rev: 41216
2018-04-11 11:10:52 +00:00
Shane Carr
cd92fa2c88 ICU-13634 Changing DecimalQuantity#toNumberString() to be DecimalQuantity#toScientificString() with slightly friendlier output syntax for better compatibility. More currency tweaks.
X-SVN-Rev: 41215
2018-04-11 05:52:58 +00:00
Shane Carr
a901b5c04a ICU-13634 Fixing more assorted currency parsing issues.
X-SVN-Rev: 41214
2018-04-11 02:18:13 +00:00
Shane Carr
b9925e084e ICU-13634 Fixing various issues in order to make currencies round-trip in strict mode.
X-SVN-Rev: 41212
2018-04-07 11:10:08 +00:00
Shane Carr
06485f3b6b ICU-13634 Fixing CurrencyPluralInfo support in formatting, allowing for currency long names to be formatted.
X-SVN-Rev: 41211
2018-04-07 08:49:11 +00:00
Shane Carr
73f93a457a ICU-13634 Fixing DecimalQuantity call sites, first written in r41063, r41064, and r41098. RNBF test is passing again.
X-SVN-Rev: 41204
2018-04-06 09:35:16 +00:00
Shane Carr
7f9de6f1db ICU-13634 Fixing resolution of negative and percent signs in parsing; adding custom sign support to ScientificMatcher; and other minor fixes.
X-SVN-Rev: 41180
2018-03-31 03:10:44 +00:00
Shane Carr
db9c74b3f4 ICU-13634 More assorted number formatting/parsing fixes.
X-SVN-Rev: 41179
2018-03-30 10:37:24 +00:00
Shane Carr
02669ad1bc ICU-13634 Fixes for NumberFormatTest/TestExponential.
X-SVN-Rev: 41177
2018-03-30 07:22:24 +00:00
Shane Carr
e5bda1eb0e ICU-13634 Various fixes to fix remaining compatibility issues in data-driven test. Includes fix for a memory sanitizer issue.
X-SVN-Rev: 41174
2018-03-30 04:28:53 +00:00
Shane Carr
1b4670fd29 ICU-13634 Merging trunk to branch
X-SVN-Rev: 41162
2018-03-28 01:08:47 +00:00
Shane Carr
a8f2471248 ICU-8610 Adding tests for number skeletons in C++. Adding error code handling to the setToDecNumber setter on DecimalQuantity. Refactoring char-to-uchar conversion in skeleton implementation code.
X-SVN-Rev: 41152
2018-03-24 05:46:28 +00:00
Shane Carr
e3180662e2 ICU-13634 Parsing wrapper is working; data-driven file is updated and passing. The C++ and Java implementations have almost identical behavior according to the data-driven test file, with the only differences seeming to involve overflow and extremely large numbers.
X-SVN-Rev: 41134
2018-03-21 09:48:55 +00:00
Shane Carr
0b6e991bb0 ICU-13634 C and J, removing the obsolete "optimize" parameter for NumberParserImpl.
X-SVN-Rev: 41132
2018-03-21 06:33:37 +00:00
Shane Carr
4fad01c342 ICU-13634 Adding pipeline for custom currency symbols.
X-SVN-Rev: 41119
2018-03-17 01:31:52 +00:00
Shane Carr
453788ddfd ICU-13634 Temporarily deleting all old number formatting implementation code. Pieces will be restored as needed. ICU4C builds, including tests, but won't run. Changes in plurfmt.cpp and plurrule.cpp are not tested. numberformat2test.cpp is unlinked but not deleted.
X-SVN-Rev: 41098
2018-03-13 08:12:05 +00:00
Norbert Runge
b5e8865ff2 ICU-13581 Make tests work, not crash, when run without ICU data
X-SVN-Rev: 41073
2018-03-06 23:13:49 +00:00
Shane Carr
94427dc200 ICU-13574 Replacing DigitList with DecimalQuantity through most of the code base.
X-SVN-Rev: 41064
2018-03-03 10:53:01 +00:00
Shane Carr
23872cb601 ICU-11318 Integrating double-conversion into icu4c. Changing both old and new number formatting implementations to call it.
X-SVN-Rev: 40929
2018-02-16 01:25:43 +00:00
Shane Carr
fc3c904559 ICU-13513 Synchronizing C and J copies of numberformattestspecification.txt
X-SVN-Rev: 40909
2018-02-13 19:10:07 +00:00
Shane Carr
e8e0cdf41d ICU-13568 Fixing memory leak in test.
X-SVN-Rev: 40875
2018-02-09 00:57:30 +00:00