Commit Graph

1346 Commits

Author SHA1 Message Date
Yoshito Umaoka
4a572c0092 ICU-12352 Updated TestTimeRoundTrip to test the end time always.
X-SVN-Rev: 38702
2016-05-05 05:44:51 +00:00
Andy Heninger
1c14e4ed7e ICU-10698 Test word break of 'What is Unicode' in Japanese, resolve C vs. J differences.
X-SVN-Rev: 38700
2016-05-04 23:55:48 +00:00
Andy Heninger
36a24af6f2 ICU-11723 Test dictionary breaking of 'アレルギー性結膜炎'
X-SVN-Rev: 38691
2016-05-03 22:43:58 +00:00
Markus Scherer
1cb09a85a3 ICU-12440 replace old ICUResourceBundle constants with lower-level ICUData constants
X-SVN-Rev: 38685
2016-05-02 22:24:30 +00:00
Andy Heninger
456857b494 ICU-11996 CJKBreakEngine divideUpDictionaryRange failing to divide long Japanese sentences.
X-SVN-Rev: 38675
2016-04-29 23:09:35 +00:00
Andy Heninger
b5be040dd0 ICU-11999 BreakIterator, UnhandledBreakEngine consuming too many characters.
X-SVN-Rev: 38669
2016-04-29 21:30:27 +00:00
Markus Scherer
0f994cbbdd ICU-12450 move com.ibm.icu.dev.util.UnicodePropertySource to org.unicode.unused
X-SVN-Rev: 38659
2016-04-27 23:38:25 +00:00
Markus Scherer
fb4d3e8b65 ICU-12450 move com.ibm.icu.dev.util.ArrayComparator, SortedBag, Tabber, VariableReplacer, Visitor, XEquivalenceClass, XEquivalenceMap to org.unicode.cldr.util
X-SVN-Rev: 38649
2016-04-25 23:49:11 +00:00
Markus Scherer
1649e2045e ICU-12450 move com.ibm.icu.dev.util.UnicodeTransform & IcuUnicodeNormalizerFactory to org.unicode.text.utility
X-SVN-Rev: 38648
2016-04-25 23:31:12 +00:00
Markus Scherer
f99b4ece25 ICU-12450 move com.ibm.icu.dev.util.DataInputCompressor & DataOutputCompressor to org.unicode.unused
X-SVN-Rev: 38647
2016-04-25 23:22:09 +00:00
Andy Heninger
c1422845ac ICU-11556 Line Break rules update for L2/16-043R, don't break CA$; also LB rules refactored for reduced memory consumption. ICU4J Data refreshed from ICU4C.
X-SVN-Rev: 38645
2016-04-25 18:23:59 +00:00
Markus Scherer
25b5619604 ICU-12450 move com.ibm.icu.dev.util.UnicodeLabel to org.unicode.cldr.util
X-SVN-Rev: 38641
2016-04-22 17:46:19 +00:00
Markus Scherer
0ba7b2e17e ICU-12450 move com.ibm.icu.dev.util.BagFormatter, CaseIterator, FileUtilities, ICUPropertyFactory, TransliteratorUtilities, UnicodeProperty, UnicodePropertySymbolTable to org.unicode.cldr.util
X-SVN-Rev: 38623
2016-04-16 00:09:04 +00:00
Andy Heninger
9d12e081bc ICU-12436 Remove totally obsolete dictionary break iterator test code and data. Has been disabled forever.
X-SVN-Rev: 38620
2016-04-15 23:39:44 +00:00
Andy Heninger
2c572efdb3 ICU-12436 Remove obsolete copy of Thai dictionary and dictionary tools from ICU4J
X-SVN-Rev: 38619
2016-04-15 22:50:43 +00:00
Markus Scherer
96f349b049 ICU-12450 move com.ibm.icu.dev.util.BagFormatter.openUTF8Writer() and siblings to com.ibm.icu.dev.util.FileUtilities and also to org.unicode.cldr.draft.FileUtilities: CLDR & Unicode Tools cannot use new ICU code until their ICU jar files are updated
X-SVN-Rev: 38618
2016-04-15 21:51:58 +00:00
Markus Scherer
eb3db2f0f8 ICU-12450 move com.ibm.icu.dev.util.PrettyPrinter to org.unicode.cldr.util.UnicodeSetPrettyPrinter
X-SVN-Rev: 38617
2016-04-14 22:29:35 +00:00
Markus Scherer
c291532c83 ICU-12450 move com.ibm.icu.dev.util.BNF, Pick, Quoter, Tokenizer to org.unicode.cldr.util
X-SVN-Rev: 38615
2016-04-13 15:41:12 +00:00
Markus Scherer
0c679d6a00 ICU-11764 8 new script codes for Unicode 9 & CLDR 29
X-SVN-Rev: 38609
2016-04-08 22:24:34 +00:00
Markus Scherer
62c1d90b17 ICU-12423 merge in coverage tests for several classes from branches/fabalbon/56-1-test-coverage
X-SVN-Rev: 38601
2016-04-05 20:43:46 +00:00
Fredrik Roubert
bf1ec3b2cd ICU-12386 Search for an actual resource, not a directory.
X-SVN-Rev: 38563
2016-03-23 20:21:59 +00:00
Craig Cornelius
16557dbe12 ICU-12351 Add missing field position data in DecimalFormat
X-SVN-Rev: 38544
2016-03-21 17:18:32 +00:00
Stuart Gill
b2a9d0cf9c ICU-11621 turn on existing data driven test and remove hand written test
X-SVN-Rev: 38539
2016-03-18 18:50:52 +00:00
Stuart Gill
21d60734f6 ICU-11621 Fix for decimal not showing when no fraction but always show decimal separator set
X-SVN-Rev: 38535
2016-03-17 23:22:32 +00:00
Peter Edberg
c8a1194dd2 ICU-12372 Add MeasureFormat test with nb,nn,sv; fix durationUnit data (J)
X-SVN-Rev: 38529
2016-03-17 02:03:08 +00:00
Yoshito Umaoka
799dff9226 ICU-12186 Added ICU4J 57 / deleted ICU4J 53 serialization test data.
X-SVN-Rev: 38503
2016-03-08 06:25:32 +00:00
Yoshito Umaoka
3af51fe196 ICU-12186 Fixed Eclipse compiler warnings - mostly javadoc warnings.
X-SVN-Rev: 38496
2016-03-05 01:31:16 +00:00
Craig Cornelius
6622efa42c ICU-11914 Refine tests, remove TODO comment.
X-SVN-Rev: 38489
2016-03-04 20:52:04 +00:00
kazède king
c5fba6be2b ICU-11872 suppress output of "midnight" in formatting (Java)
X-SVN-Rev: 38488
2016-03-04 18:35:26 +00:00
Markus Scherer
aaba97b6f9 ICU-12186 update the pool bundles, and the .res files that use them
X-SVN-Rev: 38487
2016-03-04 18:32:50 +00:00
Peter Edberg
b9759e7cce ICU-12072 J, Updates per review comments
X-SVN-Rev: 38483
2016-03-04 06:40:50 +00:00
Fredrik Roubert
88a80c655c ICU-12227 Always specify class loader when loading test data.
X-SVN-Rev: 38464
2016-03-02 19:25:40 +00:00
George Rhoten
68ac3cb27a ICU-9503 Undo removal of lenient parse data. Only English wasn't moved to CLDR.
X-SVN-Rev: 38462
2016-03-02 09:02:20 +00:00
Markus Scherer
54ca0ab18c ICU-11952 match whole select part string, not just prefix
X-SVN-Rev: 38456
2016-03-01 23:47:06 +00:00
Craig Cornelius
e68ab082c1 ICU-11914 Removed test that fails with Java 1.6.
X-SVN-Rev: 38443
2016-03-01 00:17:53 +00:00
Craig Cornelius
653ca5409d ICU-11914 Refactor tests to simplify.
X-SVN-Rev: 38442
2016-02-29 22:48:26 +00:00
Craig Cornelius
0b9bb708cd ICU-11914 Temporarily remove assert for failing tests.
X-SVN-Rev: 38431
2016-02-29 17:27:56 +00:00
Peter Edberg
d6562226e7 ICU-12154 J, update test & API doc for LocaleDisplayNames handling of bad locale IDs
X-SVN-Rev: 38428
2016-02-28 23:50:12 +00:00
Peter Edberg
d40857eaed ICU-12156 J, for locale disp name trailing parts, use internal methods that don't adjust for context
X-SVN-Rev: 38424
2016-02-28 20:14:07 +00:00
Andy Heninger
b552700cc6 ICU-12081 RBBI extensions & Emoji rules. Import rule data to Java from C++, port code changes.
X-SVN-Rev: 38422
2016-02-28 19:14:48 +00:00
Peter Edberg
48214e5b5d ICU-12056 J, Add format and toPattern tests for standard date fmts with number system overrides
X-SVN-Rev: 38421
2016-02-28 07:23:56 +00:00
John Emmons
d24c540196 ICU-10910 Compact currency formatting support
X-SVN-Rev: 38414
2016-02-27 02:47:37 +00:00
Craig Cornelius
b0773e59e9 ICU-11914 Add more detail to check failing tests.
X-SVN-Rev: 38411
2016-02-27 02:11:31 +00:00
Craig Cornelius
57ccd73a91 ICU-11914 Add more detail to check failing tests.
X-SVN-Rev: 38396
2016-02-27 00:24:52 +00:00
Craig Cornelius
75c9b88455 ICU-11914 Add tests that verify correct behavior.
X-SVN-Rev: 38392
2016-02-26 23:19:55 +00:00
John Emmons
e50534f9e2 ICU-12185 Fix LDML2ICUConversion of cashDigits/cashRounding
X-SVN-Rev: 38390
2016-02-26 22:51:44 +00:00
Craig Cornelius
fd1d1cc38f ICU-11735 Fix minor indent mistake.
X-SVN-Rev: 38382
2016-02-26 18:45:46 +00:00
Craig Cornelius
54d140d51c ICU-11735 Fix to return null in currency parsing when no currency symbol is present.
X-SVN-Rev: 38375
2016-02-25 23:22:08 +00:00
kazède king
de148065c2 ICU-11872 new time formatting pattern chars b/B
Merging from the branch.

X-SVN-Rev: 38371
2016-02-25 19:53:49 +00:00
Mark Davis
633a219737 ICU-11872 Added code to do the pattern generation part of the new day periods.
X-SVN-Rev: 38363
2016-02-25 16:03:26 +00:00
Steven R. Loomis
e0ab17b728 ICU-12055 remove NPE from FilteredBreakIteratorBuilder
X-SVN-Rev: 38361
2016-02-25 01:39:48 +00:00
John Emmons
2b457a4ea1 ICU-12170 Merge data from CLDR release-29-beta1
X-SVN-Rev: 38333
2016-02-23 02:31:28 +00:00
Mark Davis
ee0a1c0ecd ICU-12053 fix UnicodeMap, and move in a couple of methods that were elsewhere. Did a bunch of cleanup on the tests as well.
X-SVN-Rev: 38327
2016-02-19 15:55:00 +00:00
Mark Davis
cc2ee5c6e6 ICU-4229 update to use new CLDR data, and to work with v28 data during transition.
X-SVN-Rev: 38321
2016-02-18 11:39:40 +00:00
Peter Edberg
c9d3995332 ICU-12072 RelativeDateTimeFormatter: improve J format API
X-SVN-Rev: 38320
2016-02-17 07:29:48 +00:00
Peter Edberg
e435f6e750 ICU-12085 Update J TestToUnicodeLocaleType/TestToLegacyType for "rg"
X-SVN-Rev: 38314
2016-02-16 19:31:42 +00:00
Peter Edberg
abe480ef9e ICU-12085 Implement J support for new CLDR locale key "rg"
X-SVN-Rev: 38313
2016-02-16 07:11:10 +00:00
John Emmons
3376c4a0b7 ICU-12091 Merge preliminary CLDR 29 data for 57m1
X-SVN-Rev: 38277
2016-02-05 02:28:56 +00:00
Peter Edberg
3bbe499ec2 ICU-12133 (J) Change proportion-karat to concentr-karat, add 5 new units in CLDR 29
X-SVN-Rev: 38248
2016-02-02 00:36:47 +00:00
Yoshito Umaoka
3cbb178df4 ICU-12084 Fixed Eclipse compiler warnings.
X-SVN-Rev: 38230
2016-01-30 01:11:30 +00:00
Yoshito Umaoka
1a28b453fc ICU-12084 Clean up import statements.
X-SVN-Rev: 38229
2016-01-30 01:01:17 +00:00
Yoshito Umaoka
af7c08969e ICU-11962 tzdata2016a updates to ICU4J
X-SVN-Rev: 38223
2016-01-29 00:01:16 +00:00
Markus Scherer
dcb76aab72 ICU-7618 replace MessageFormat with SimpleFormatterImpl where easy; remove obsolete ChoiceFormat handling of currency names
X-SVN-Rev: 38199
2016-01-26 22:52:45 +00:00
Markus Scherer
00122edbf6 ICU-10896 split SimplePatternFormatter into public SimpleFormatter and all-static SimpleFormatterImpl
X-SVN-Rev: 38194
2016-01-23 05:17:18 +00:00
Markus Scherer
cbc1e34b7f ICU-11802 add 4 Emoji properties from emoji-data.txt 2.0
X-SVN-Rev: 38184
2016-01-21 04:41:55 +00:00
Craig Cornelius
0013251fcb ICU-12018 Overhaul RelativeDateTimeFormatter data loading
X-SVN-Rev: 38176
2016-01-15 23:50:25 +00:00
Andy Heninger
a5c02bbcda ICU-5383 Re-enable test.
X-SVN-Rev: 38172
2016-01-15 22:17:16 +00:00
Andy Heninger
09819eab73 ICU-11669 Thread safety of DateIntervalFormat::format()
X-SVN-Rev: 38157
2016-01-07 21:15:19 +00:00
Markus Scherer
0183cad1d7 ICU-12032 remove SimplePatternFormatter wrapper objects from MeasureFormat range formatting, too
X-SVN-Rev: 38156
2016-01-07 00:45:28 +00:00
Markus Scherer
a7119fa972 ICU-12032 SimplePatternFormatter allow values=null, some better API docs, some changes parallel with C++
X-SVN-Rev: 38154
2016-01-07 00:18:30 +00:00
Andy Heninger
ec1aaee041 ICU-12034 Fix MeasureUnit static initialization race.
X-SVN-Rev: 38150
2016-01-04 21:25:47 +00:00
Markus Scherer
e13ef30930 ICU-12032 rewrite SimplePatternFormatter: quoting like MessageFormat, shorter, create fewer objects; callers avoid wrapper objects
X-SVN-Rev: 38149
2016-01-02 01:12:37 +00:00
Mark Davis
1d5b1fbb6f ICU-4229 Check for that zzzz is treated as duplicate of "others"; only allow regular scripts + zzzz.
X-SVN-Rev: 38138
2015-12-16 09:26:36 +00:00
Mark Davis
c3d49f32fc ICU-4229 Check for duplicate reorder codes
X-SVN-Rev: 38132
2015-12-15 20:21:08 +00:00
Mark Davis
565abe4808 ICU-4229 Enhanced the checking further.
X-SVN-Rev: 38128
2015-12-14 16:14:40 +00:00
Mark Davis
bdfe1a68cf ICU-4229 Enhanced the checking further.
X-SVN-Rev: 38125
2015-12-13 21:37:37 +00:00
Markus Scherer
fcd9bcbe71 ICU-12031 text.PluralRules.StandardPluralCategories -> impl.StandardPlural with new names for constants & methods
X-SVN-Rev: 38124
2015-12-11 22:27:18 +00:00
Markus Scherer
3d76dd93d2 ICU-11986 optimize UnitPatternSink a bit; add MeasureUnitTest.testIndividualPluralFallback()
X-SVN-Rev: 38101
2015-12-02 22:18:50 +00:00
Yoshito Umaoka
7c43d7d3f5 ICU-12022 Updated the minimum JRE version to Java 6.
X-SVN-Rev: 38099
2015-12-01 05:29:28 +00:00
Markus Scherer
7ac5360664 ICU-11986 MeasureFormat unit display patterns need to fall back to the parent locales per plural form, not as a set
X-SVN-Rev: 38098
2015-11-30 22:44:04 +00:00
Markus Scherer
3f4f8032d1 ICU-11986 UResource.Value.getAliasString(), sink.leave(), MeasureFormat use resource enumeration, store one data reference not pieces of that data
X-SVN-Rev: 38095
2015-11-19 22:56:12 +00:00
Michael Ow
e4126a0fb6 ICU-11979 Fix max char size for iso-2022-kr in icu4j
X-SVN-Rev: 38085
2015-11-17 23:05:18 +00:00
Andy Heninger
11da2bc073 ICU-11619 VTimeZone throws a ClassCastException when Zone ID unknown; move fixes from branch to trunk.
X-SVN-Rev: 38039
2015-10-07 00:32:46 +00:00
John Emmons
31ef2b0df7 ICU-11928 Fix NPEs in test framework (affects CLDR build)
X-SVN-Rev: 38011
2015-09-23 19:50:53 +00:00
Peter Edberg
6b23d8ac58 ICU-11929 (J) Rename MeasureUnit constants GENERIC, REVOLUTION
X-SVN-Rev: 38010
2015-09-23 18:37:20 +00:00
Yoshito Umaoka
2f09a06e26 ICU-11918 Excluded ISO-2022-KR check on IBM Java 8. Java ISO-2022-KR is broken in the latest IBM Java 8 release (8.0.1.10).
X-SVN-Rev: 38008
2015-09-23 18:31:46 +00:00
Yoshito Umaoka
c5324d571a ICU-11918 Added 56.1 serialization test data. Deleted 52.1 serialization test data.
X-SVN-Rev: 37998
2015-09-23 02:18:52 +00:00
Yoshito Umaoka
e3222a5716 ICU-11755 Excluded a couple of locales (ROOT and de_GR) from locale SPI test. __ICU4J does not make much sense, and de_GR is not supported by ICU4J.
X-SVN-Rev: 37990
2015-09-22 19:24:31 +00:00
Mark Davis
09b798d757 ICU-11861 Added immutable lists of skeletons for iteration, as @internal. Also added test to make sure that they are aligned with what is tested. Note that I reordered and added items to DateFormatTest to verify coverage and order.
X-SVN-Rev: 37984
2015-09-22 12:01:44 +00:00
Mark Davis
72e1610789 ICU-11898 fixed assertion and added test.
X-SVN-Rev: 37983
2015-09-22 11:23:13 +00:00
Yoshito Umaoka
e5105c7f84 ICU-11918 Fixed compiler warnings.
X-SVN-Rev: 37977
2015-09-22 00:32:25 +00:00
Scott Russell
d671fbb0c4 ICU-11572 API proposal updates for approved constants
X-SVN-Rev: 37962
2015-09-16 02:36:11 +00:00
Peter Edberg
24d0d779d2 ICU-11750 For Indic search: Allow match end at normalization boundary in middle of grapheme cluster (J)
X-SVN-Rev: 37952
2015-09-13 19:01:29 +00:00
Mark Davis
003c9da518 ICU-11738 Updated to handle string ranges.
X-SVN-Rev: 37943
2015-09-10 14:30:28 +00:00
Mark Davis
1f9540cce1 ICU-11803 added 'main', simplified code for easier debugging
X-SVN-Rev: 37942
2015-09-10 12:14:46 +00:00
Peter Edberg
eef3e8f0f7 ICU-11787 Add support for STANDARDCURRENCYSTYLE and locale u-ext key -cf- (J)
X-SVN-Rev: 37941
2015-09-10 07:01:41 +00:00
Craig Cornelius
266f4e8b67 ICU-11805 DecimalFormat missing negative sign in US locale formatToCharacterIterator
X-SVN-Rev: 37925
2015-09-09 20:52:52 +00:00
Markus Scherer
ea8111fe25 ICU-11447 better SpoofChecker.CheckResult.toString()
X-SVN-Rev: 37923
2015-09-09 19:29:17 +00:00
Mark Davis
ac4466583f ICU-11721 small fixes
X-SVN-Rev: 37919
2015-09-09 13:27:10 +00:00
Mark Davis
1fc1ceab55 ICU-11447 add toString. Just an override of existing API, so not an API change.
X-SVN-Rev: 37918
2015-09-09 13:14:46 +00:00
Mark Davis
2c7e3cfe4d ICU-11803 fixed (but see comments)
X-SVN-Rev: 37917
2015-09-09 13:04:56 +00:00
Mark Davis
c5396b67a2 ICU-8288 Looks like the code was fixed some time in the past, so just added test.
X-SVN-Rev: 37916
2015-09-09 12:45:06 +00:00
Mark Davis
d81ee368f0 ICU-11544 Made the main changes to bring it up to snuff with the CLDR data.
X-SVN-Rev: 37915
2015-09-09 12:30:26 +00:00
Travis Keep
16c1b96f5a ICU-11740 Final sync of C and J copies of data driven tests.
X-SVN-Rev: 37911
2015-09-09 00:10:38 +00:00
Craig Cornelius
1a6b2975d1 ICU-11808 Missing ArithmeticException when using ICU4J DecimalFormat
X-SVN-Rev: 37909
2015-09-08 23:39:59 +00:00
Peter Edberg
5dc7ebe25b ICU-11773 Withdraw COLON as pattern char, leave support for TIME_SEPARATOR_FIELD (J)
X-SVN-Rev: 37899
2015-09-08 02:21:22 +00:00
Craig Cornelius
2dfa676385 ICU-11784 Fix DecimalFormat FieldPosition for Field.CURRENCY
X-SVN-Rev: 37887
2015-09-04 21:58:03 +00:00
Markus Scherer
3b7d1aa8aa ICU-11879 change to child-first resource enumeration: avoid deserializing overridden resource values
X-SVN-Rev: 37865
2015-09-02 02:08:44 +00:00
George Rhoten
252f2a14e9 ICU-11653 Add more test cases for rounding in RBNF.
X-SVN-Rev: 37842
2015-08-28 18:14:04 +00:00
John Emmons
c0a1914073 ICU-11846 CLDR 28 data integration
X-SVN-Rev: 37838
2015-08-27 21:04:13 +00:00
George Rhoten
be9d69bef6 ICU-11818 Implement PluralRules in fractional RBNF
X-SVN-Rev: 37824
2015-08-26 10:42:45 +00:00
George Rhoten
9a011771da ICU-11653 Override roundingMode API from the NumberFormat superclass so that it doesn't throw an exception.
X-SVN-Rev: 37812
2015-08-25 19:33:18 +00:00
George Rhoten
8653b95982 ICU-11760 Add rule syntax for NaN, infinity and alternate decimal points.
Some performance enhancements were added for good measure too.  Creating new RuleBasedNumberFormat objects can take a long time due to all the rule parsing.
 Also I fixed a potential infinite recursion problem when RuleBasedNumberFormat used NumberFormat.createInstance, which could occasionally depend on creating RuleBasedNumberFormat for itself, which was bad.

X-SVN-Rev: 37778
2015-08-17 08:38:34 +00:00
Fredrik Roubert
1b61660ea6 ICU-11789 Always specify class loader when loading test data.
X-SVN-Rev: 37758
2015-08-12 15:24:01 +00:00
Markus Scherer
9e0d7d9554 ICU-11537 move shared resource bundle string values to pool.res, .res formatVersion 3
X-SVN-Rev: 37732
2015-08-07 18:46:21 +00:00
Peter Edberg
4874d2eeaf ICU-11629 J, update MeasureUnit interfaces and tests for new units in CLDR 27/28
X-SVN-Rev: 37625
2015-06-28 01:41:07 +00:00
Yoshito Umaoka
18b3dfe72c ICU-11629
X-SVN-Rev: 37623
2015-06-26 20:15:08 +00:00
Peter Edberg
a1b8a08bf7 ICU-11706 (and #11726) Fix DateIntervalFormat handling of (1) skeletons with seconds, (2) FieldPosition (J)
X-SVN-Rev: 37615
2015-06-24 07:40:11 +00:00
Peter Edberg
f6d079eba2 ICU-11673 Add new Japanese name for Georgia to cjdict (J)
X-SVN-Rev: 37609
2015-06-23 02:16:43 +00:00
Peter Edberg
0a5fda54d1 ICU-11688 Add Thai words for "update" and "event" to dictionary (J)
X-SVN-Rev: 37607
2015-06-23 00:54:21 +00:00
Markus Scherer
c37aa4a6ab ICU-11574 Unicode 8.0 final data
X-SVN-Rev: 37549
2015-06-12 11:10:47 +00:00
John Emmons
c9e710c42b ICU-11728 First cut CLDR 28 data integration
X-SVN-Rev: 37523
2015-06-10 18:20:27 +00:00
Travis Keep
68597cddb7 ICU-10458 Add more data driven tests for parsing currency.
X-SVN-Rev: 37508
2015-06-09 18:02:40 +00:00
Yoshito Umaoka
bcdb602582 ICU-11692 Fixed a compilation error with Java runtime version 5 - replacing String#isEmpty() with String#length() == 0
X-SVN-Rev: 37500
2015-06-05 16:35:12 +00:00
Travis Keep
a1dcd14c0d ICU-10458 More data driven tests for parsing.
X-SVN-Rev: 37494
2015-06-03 16:41:42 +00:00
Travis Keep
7b7a214307 ICU-11692 DecimalFormat data driven tests for JAVA.
X-SVN-Rev: 37484
2015-06-01 20:28:39 +00:00
Markus Scherer
88e2877fd6 ICU-11574 near-final Unicode 8 data with new block API constants, code adjustments & fixes; svn merge --reintegrate branches/markus/uni80; plus Java port of C++ r37450 spoof data d6 update
X-SVN-Rev: 37474
2015-05-28 23:17:23 +00:00
Yoshito Umaoka
c6581d9c2f ICU-11677 Fixed numeric field detection method to return true for pattern Q up to two letters. The pattern letters constant were updated to match the corresponding C implementation (DateFormatSymbols:isNumericField(UDateFormatField,int32_t)). Uncommented TestQuarters which was commented previously for some reasons, and added the problematic abutting patterns - Qyy and QQyy in the test data.
X-SVN-Rev: 37452
2015-05-19 21:25:08 +00:00
Fredrik Roubert
4854bd6b67 ICU-11674 Make ULocale tests work better with Android.
ULocale has been updated to work with scripts and Unicode extensions in
the Android Locale, so the tests can be updated to expect this to behave
essentially like Java 7.

R=markus.icu@gmail.com

Review URL: https://codereview.appspot.com/235430043

X-SVN-Rev: 37432
2015-05-12 18:38:39 +00:00
Andy Heninger
b8a025a215 ICU-11635 Fix supplemental character handling bug in class IdentifierInfo.
X-SVN-Rev: 37427
2015-05-07 00:32:28 +00:00
Yoshito Umaoka
5cbba9e1f6 ICU-11630 tzdata2015d to ICU4J
X-SVN-Rev: 37400
2015-04-24 23:46:18 +00:00
Andy Heninger
fa38aa2c0b ICU-11608 remove lines with $ svn keywords
X-SVN-Rev: 37368
2015-04-20 20:50:26 +00:00
Andy Heninger
e599c1007e ICU-11609 set svn property eol-style native for more text files in icu4j.
X-SVN-Rev: 37365
2015-04-17 23:31:56 +00:00
Yoshito Umaoka
7daa0c8e78 ICU-11629 Updated ICU4J version to 56.0.1.
X-SVN-Rev: 37338
2015-04-15 16:41:47 +00:00
Michael Ow
997afd4ee2 ICU-11630 Update tzdata in ICU4J to 2015c
X-SVN-Rev: 37334
2015-04-14 21:23:40 +00:00
Travis Keep
2efcd46ee3 ICU-11580 Fix DateIntervalInfo descrepencies between C and J
X-SVN-Rev: 37325
2015-04-09 18:28:59 +00:00
Yoshito Umaoka
bc3b3a3916 ICU-11595 Merging locale matcher's fix from the work branch emmons/t11595 to trunk, with ICU4J data jar files regenerated from the ICU4C trunk.
X-SVN-Rev: 37295
2015-03-27 17:57:18 +00:00
Yoshito Umaoka
b72bd763eb ICU-11315 tzdata2015b updates in ICU4J.
X-SVN-Rev: 37267
2015-03-24 22:34:57 +00:00
Yoshito Umaoka
32271b5e29 ICU-11583 Fixed several issues in the previous commits. See #11583 comment:7 for the details.
X-SVN-Rev: 37230
2015-03-13 20:18:09 +00:00
Mark Davis
d43a9202f2 ICU-11583 remove spurious Objects in imports (with a cleanup)
X-SVN-Rev: 37228
2015-03-13 12:54:42 +00:00
Mark Davis
152bcd92c8 ICU-11583 fix resource loading for interval formats, plus add tests. There are some internal APIs for use by the tests also.
X-SVN-Rev: 37227
2015-03-13 07:09:17 +00:00
Yoshito Umaoka
d4975a1818 ICU-11565 Added ICU4J 55 API signature file. Added ICU4J 55 serializable test data and deleted ICU4J 51 serializable data.
X-SVN-Rev: 37218
2015-03-11 20:43:39 +00:00
Yoshito Umaoka
22dd5c9096 ICU-11565 Fixed Eclipse compiler warnings. Updated ICU4J project settings to detect [potentail] resource leak as warning, except icu-demos, icu-build-tools and icu-tools.
X-SVN-Rev: 37213
2015-03-11 18:54:31 +00:00
Yoshito Umaoka
d2598ad888 ICU-11565 BRS - organize import statements
X-SVN-Rev: 37207
2015-03-11 15:25:50 +00:00
Peter Edberg
8cfa7a0d29 ICU-11565 Update DRAFT_VERSIONS, ICU 53 MeasureUnit constants/createXxx are no longer draft
X-SVN-Rev: 37198
2015-03-10 07:37:08 +00:00
Mark Davis
1c46811b4d ICU-10488 fixes for review comments. See comment:10
X-SVN-Rev: 37191
2015-03-08 10:06:22 +00:00
John Emmons
1e423f49fd ICU-10750 Remove obsolete files from source/data/xml
X-SVN-Rev: 37188
2015-03-07 16:30:39 +00:00
John Emmons
1bf3215b3f ICU-11555 Integrate CLDR 27 data
X-SVN-Rev: 37170
2015-03-06 23:05:45 +00:00
Markus Scherer
dacf87f4de ICU-11392 sync a little with C++
X-SVN-Rev: 37161
2015-03-06 20:55:44 +00:00
Markus Scherer
c65fdec5e2 ICU-11392 make readLine() easier to use
X-SVN-Rev: 37157
2015-03-06 19:46:43 +00:00
Peter Edberg
85f525d004 ICU-9043 Using 'r' to avoid ambiguity in Chinese cal date parsing, re-enable test
X-SVN-Rev: 37142
2015-03-05 05:07:29 +00:00
Peter Edberg
f28e3cf98b ICU-10936 J umalqura: Speedup for IslamicCalendar.yearStart, add conversion accuracy tests
X-SVN-Rev: 37141
2015-03-05 04:10:35 +00:00
Scott Russell
5f81c8793b ICU-10426 rename IslamicCalendar#setType() to IslamicCalendar#setCalculationType()
X-SVN-Rev: 37134
2015-03-04 22:16:24 +00:00
Markus Scherer
9c9d176d56 ICU-11500 test framework: always print both exception message and stack trace
X-SVN-Rev: 37130
2015-03-04 20:05:26 +00:00
Peter Edberg
8242b3914c ICU-11019 J: Add Thai words for "browser" and "post" to dictionary
X-SVN-Rev: 37127
2015-03-04 07:20:48 +00:00
Peter Edberg
3765b3d130 ICU-11510 J: Support narrow AM/PM "aaaaa" for date format and parse
X-SVN-Rev: 37125
2015-03-04 06:27:56 +00:00
Markus Scherer
0918e9e5f7 ICU-11392 data-driven collation test: failed Collator creation skips over its test cases then continues testing; simplify test case syntax error handling
X-SVN-Rev: 37113
2015-03-03 19:38:46 +00:00
George Rhoten
52f0fc8a17 ICU-11532 Infinite loop while parsing an RBNF rule with plural format
X-SVN-Rev: 37106
2015-03-02 03:27:18 +00:00
Mark Davis
2b9fe640f1 ICU-10488 add some non-canonical names
X-SVN-Rev: 37104
2015-02-28 15:22:32 +00:00
Mark Davis
7b66f26a10 ICU-10488 Add api for locale display list
X-SVN-Rev: 37103
2015-02-28 15:06:42 +00:00
Mark Davis
d8dbf52acc ICU-11099 Add @internal API for now.
X-SVN-Rev: 37102
2015-02-28 14:16:06 +00:00
Markus Scherer
1ecb2eb325 ICU-11546 same input text for ICU and JDK
X-SVN-Rev: 37095
2015-02-27 22:14:09 +00:00
Peter Edberg
f695444816 ICU-11539 J: Delete Calendar fields TIME_SEPARATOR, RELATED_YEAR; adjust accordingly
X-SVN-Rev: 37090
2015-02-27 08:59:59 +00:00
Markus Scherer
87b4d34774 ICU-11546 test lead surrogate in the middle not at the end
X-SVN-Rev: 37089
2015-02-27 03:28:12 +00:00
Andy Heninger
56459a99d9 ICU-11446 Spoof Checker data update: use MA table only.
X-SVN-Rev: 37072
2015-02-26 02:04:11 +00:00
Yoshito Umaoka
c679a56ba1 ICU-11505 Made -u as default option of the test framework, added -hex to escape non-ASCII characters.
X-SVN-Rev: 37065
2015-02-25 07:50:46 +00:00
Peter Edberg
33de7d60b8 ICU-9379 J: Update BreakIterator createInstance to handle linebreak variant files; update tests
X-SVN-Rev: 37060
2015-02-24 22:38:03 +00:00
Peter Edberg
f149f89059 ICU-10761 J: pre-integrate changes per cldrbug 8048: to use 'r' in chinese calendar formats
X-SVN-Rev: 37053
2015-02-23 16:46:39 +00:00
Yoshito Umaoka
aac5b528c8 ICU-11501 Removed -nothrow option handling code in the test framework. The option is still accepted, but it has no effects.
X-SVN-Rev: 37052
2015-02-23 13:23:44 +00:00
Yoshito Umaoka
df67b1a7d0 ICU-11540 The previous fix broke the CoverageTest execution on Eclipse IDE (file: protocol). I reverted the change, and reverted #11521, and fixed the original issue in a different way.
X-SVN-Rev: 37051
2015-02-23 13:03:38 +00:00
Yoshito Umaoka
5596090680 ICU-11540 Fixed a serialization coverage test problem introduced by the recent fix for JarURLHandler(#11521).
X-SVN-Rev: 37050
2015-02-23 10:32:00 +00:00
Peter Edberg
154ad1a4bd ICU-10761 J: Basic support for date pattern character 'r', date field RELATED_YEAR
X-SVN-Rev: 37047
2015-02-22 08:20:18 +00:00
Fredrik Roubert
d8b9e7ecaa ICU-11463 ICU4J ought to always close() resources
R=yoshito_umaoka@us.ibm.com

Review URL: https://codereview.appspot.com/199390043

X-SVN-Rev: 37034
2015-02-13 20:16:22 +00:00
Fredrik Roubert
9aadd6b1e9 ICU-11467 Define the 'r' pattern char and the RELATED_YEAR field.
For compatibility with ICU4C, the RELATED_YEAR field should be defined
as the field preceding the TIME_SEPARATOR field but by mistake support
for the TIME_SEPARATOR field has already been implemented in ICU4J
without first defining the RELATED_YEAR field.

This change therefore reorders the existing TIME_SEPARATOR field and
adds definitions (without any underlying implementation) for the 'r'
pattern char and the RELATED_YEAR field.

R=markus.icu@gmail.com,pedberg@apple.com

Review URL: https://codereview.appspot.com/198460043

X-SVN-Rev: 37032
2015-02-13 18:20:21 +00:00
Yoshito Umaoka
92932143be ICU-11315 tzdata2015a updates in ICU4J.
X-SVN-Rev: 37005
2015-02-03 23:55:23 +00:00
Markus Scherer
6f38f0a727 ICU-11498 TestCharsetDetector: hardcode ISO-2022-CN bytes in CharsetDetectionTests.xml and do not check roundtrip conversion for it
X-SVN-Rev: 36998
2015-02-02 22:53:15 +00:00
Markus Scherer
07fb5920cc ICU-11497 TestCharset.TestEncoderCreation: explicitly create one Charset from ICU, be lenient about implementation of another Charset
X-SVN-Rev: 36993
2015-01-29 21:23:36 +00:00
Markus Scherer
0acf60d3e0 ICU-11479 do not ask the Java system what the canonical name should be, just figure it out from ICU data
X-SVN-Rev: 36982
2015-01-22 20:40:30 +00:00
Fredrik Roubert
c65976304f ICU-11491 adjust Java version check for Android.
R=markus.icu@gmail.com

Review URL: https://codereview.appspot.com/194320043

X-SVN-Rev: 36978
2015-01-21 21:46:16 +00:00
Yoshito Umaoka
2e44f6274f ICU-11487 Fixed lookup trie initialization problem in TZDBTimeZoneNames.
X-SVN-Rev: 36977
2015-01-21 19:51:06 +00:00
Markus Scherer
ebc8fc083f ICU-11486 do not rely on javax.xml.datatype.DatatypeFactory, manually build good-enough-for-this-test Duration objects
X-SVN-Rev: 36976
2015-01-21 18:45:57 +00:00
Markus Scherer
1604e1772d ICU-11479 precompute Java canonical names for not-only-ICU Charsets, make CharsetProviderICU all-static again (see ticket #9973), simplify some test code
X-SVN-Rev: 36966
2015-01-16 17:35:52 +00:00
Fredrik Roubert
6572a72c63 ICU-11474 Identify Android as a Java vendor in unit tests.
R=markus.icu@gmail.com

Review URL: https://codereview.appspot.com/189550043

X-SVN-Rev: 36961
2015-01-15 10:45:08 +00:00
Fredrik Roubert
0f41ec3319 ICU-11464 TestFmwk should log closing brace lines for empty tests.
Review URL: https://codereview.appspot.com/191480043

X-SVN-Rev: 36927
2015-01-07 18:39:29 +00:00
Markus Scherer
e65a679a26 ICU-11449 reorder single scripts not groups, scripts/groups can start on top-16-bit boundaries, data formatVersion 5 for new scripts data and optional reorderRanges appended to reorderCodes
X-SVN-Rev: 36925
2015-01-07 03:49:20 +00:00
Yoshito Umaoka
179ab63238 ICU-11466 Added a word break test case for Hangul, starting with Latin text. Such case did not work well with ICU4J 52, but works fine with other ICU versions.
X-SVN-Rev: 36916
2015-01-06 19:03:26 +00:00
Markus Scherer
6c0fcd7a64 ICU-11448 collation common tertiary weights for normal Hiragana, change builder to cope with below-common tertiary weights
X-SVN-Rev: 36907
2014-12-27 00:39:08 +00:00
Fredrik Roubert
a897801e80 ICU-11018 Support CLDR time separator (ICU4J)
This change will treat the ':' character in patterns as a symbol
(instead of as a literal) and if the Locale defines timeSeparator then
use that character instead when formatting and accept both when parsing.

It will also define the '.' as an alternate time separator, that will be
accepted when parsing in lenient mode.

R=rocketman@google.com

Review URL: https://codereview.appspot.com/180370043

X-SVN-Rev: 36898
2014-12-19 07:20:14 +00:00
Travis Keep
4cbb21d8b5 ICU-11445 Bring per unit formatting in MeasureFormat out of tech preview.
X-SVN-Rev: 36885
2014-12-17 22:19:45 +00:00
Yoshito Umaoka
1477b9b8a2 ICU-11314 Updated a test case for JDK TimeZone test. With JDK TimeZone, ignore the dicrepancy between setRawOffset and getRawOffset.
X-SVN-Rev: 36861
2014-12-11 18:58:07 +00:00
Markus Scherer
cf3eb94a4e ICU-10829 simplify U+FFFE collation: U+FFFE use common non-primary weights, adjust code for that, test order of U+FFFE equivalent to CollationKey.merge() but not necessarily same sort keys, omit case level if lowerFirst and only common weights
X-SVN-Rev: 36857
2014-12-11 17:17:03 +00:00
Yoshito Umaoka
7ce10f73cf ICU-11314 Fixed compiler/FindBugs warnings.
X-SVN-Rev: 36855
2014-12-11 17:03:23 +00:00
Yoshito Umaoka
bf9e8ef636 ICU-11314 BRS - organize imports
X-SVN-Rev: 36854
2014-12-11 16:42:53 +00:00
John Emmons
d8e5b70769 ICU-11417 CLDR 27 data integration for ICU55M1
X-SVN-Rev: 36851
2014-12-11 16:16:10 +00:00
Yoshito Umaoka
22ec77242f ICU-11415 Fixed a locale display name issue with a currency keyword.
X-SVN-Rev: 36840
2014-12-10 09:08:03 +00:00
Travis Keep
073e9eeb6f ICU-10569 Add test to verify that equals and hashCode on Measure work correctly.
X-SVN-Rev: 36838
2014-12-10 00:43:17 +00:00
Travis Keep
21b7a7e13d ICU-11383 Remove ScientificFormatHelper JAVA
X-SVN-Rev: 36825
2014-12-08 23:22:14 +00:00
Markus Scherer
ba2a065004 ICU-10823 ICUResourceBundle add & support enum OpenType, use OpenType.LOCALE_ROOT for Collator & BreakIterator, also change default locale to root for those services
X-SVN-Rev: 36818
2014-12-08 17:54:11 +00:00
Yoshito Umaoka
5d46e56bbd ICU-11411 Fixed problematic hardcoded JDK Locale mapping for ULocale Chinese constants.
X-SVN-Rev: 36814
2014-12-05 23:48:28 +00:00
Yoshito Umaoka
a2581f458c ICU-11363 Thread#join() to the main test thread after start.
X-SVN-Rev: 36802
2014-12-02 23:08:38 +00:00