Commit graph

123 commits

Author SHA1 Message Date
Markus Scherer
9971c663ff ICU-21257 remove #License fragment from license URLs 2020-09-04 10:02:17 -07:00
Markus Scherer
39da689d30 ICU-21184 rephrase docs/comments using the term grandfathered 2020-08-21 14:13:03 -07:00
gvictor
d461a0e49c
ICU-20133 Undeprecate Transliterator.Position#hashCode (#119)
Create a preper hash code with Objects.hash instead of returning 42
2018-09-27 14:27:40 -07:00
David Corbett
378b04c1b2
ICU-12979 Fix \Q...\E in UnicodeRegex#transform (#23) 2018-09-27 14:27:39 -07:00
Fredrik Roubert
d2b2d2409a
ICU-20006 Parameterize the TestSourceTargetSet2 test case.
By extracting this test case into a separate class and separating the
complex and time consuming building of the UnicodeSet disorderedMarks
data structure into an @BeforeClass shared setup method it becomes
possible to test the 18 different transliteration rules as a
parameterized test case.

This will lower the running time per test case and also aid in debugging
as it will make it immediately obvious which transliteration rules cause
test failures (and which don't).
2018-09-27 14:27:39 -07:00
Yoshito Umaoka
d1c761762a
ICU-13413 Java 7 migration in build scripts and eclipse project files
- Updated javac/javadoc source and target Java version to 1.7.
- Eclipse projects to use execution environment JavaSE-1.7.
- Replaced java6.bootclasspath with java7.bootclasspath.
- Removed pre-Java 7 conditional build targets.
- Deleted stylesheet for JDK6 build.
2018-09-27 14:27:38 -07:00
Fredrik Roubert
f1d29ce62e ICU-13766 Make UnicodeMapTest#TestUnicodeMapGeneralCategory smaller.
There are 0x10FFFF code points and this test allocates memory for every
code point tested. Testing every single one of them is therefore memory
intensive and slow, without adding any real value to the test.

Instead an equivalent test coverage can be achieved by testing a much
smaller set of ranges of code points that cover all categories.

X-SVN-Rev: 41547
2018-06-21 20:17:22 +00:00
Norbert Runge
d6cc900c42 ICU-12986 parameterizes long running unit test to split it into shorter unit test runs.
X-SVN-Rev: 40534
2017-10-03 16:08:43 +00:00
Norbert Runge
a782748606 ICU-12603 Annotates ICU4J unit test classes which use JUnit with @RunWith(JUnit4.class).
X-SVN-Rev: 40375
2017-09-08 16:46:18 +00:00
Norbert Runge
b6cd1cddeb ICU-13243 enables and re-arranges a test case disabled during JUnit migration.
X-SVN-Rev: 40269
2017-07-19 17:13:03 +00:00
Markus Scherer
cfef2fb339 ICU-9198 add titlecasing options: wholeString, sentences, adjustToCased
X-SVN-Rev: 40164
2017-06-09 23:04:03 +00:00
Norbert Runge
3b080265e2 ICU-12586 Enables unit tests that were not included in the initial migration to JUnit.
X-SVN-Rev: 40151
2017-06-05 16:17:11 +00:00
Fredrik Roubert
7c633a5a7a ICU-12984 Halve the execution time of ThreadTest#TestThreads.
Halve the default number of iterations, leaving the number of iterations
in exhaustive mode unchanged.

X-SVN-Rev: 40072
2017-04-21 13:39:40 +00:00
Yoshito Umaoka
728feb5d1a ICU-13120 Updated Specification/Implementation/Bundle vendor and copyright in manifest files from IBM to Unicode.
X-SVN-Rev: 40023
2017-04-10 18:39:10 +00:00
Shane Carr
229389832c ICU-7467 Reverting unintentional changes in r39877 to test launch configuration files.
X-SVN-Rev: 39887
2017-03-20 22:16:19 +00:00
Shane Carr
dbcae565a2 ICU-7467 Merging ICU4J decimal format overhaul from branch to trunk.
X-SVN-Rev: 39877
2017-03-18 03:32:40 +00:00
Norbert Runge
acbe642cbb ICU-12761 Adds Unicode copyright notice.
X-SVN-Rev: 39389
2016-09-28 22:16:43 +00:00
Yoshito Umaoka
126f75c3bd ICU-12596 Re-enabled TestCollectionUtilitySpeed, but use logln instead of errln when performance rate is under the target number.
X-SVN-Rev: 39277
2016-09-19 15:39:33 +00:00
Yoshito Umaoka
688cbee0ce ICU-12456 Organized imports. Updated save action to organize imports and remove trailing spaces. Updated copyright comment template.
X-SVN-Rev: 38890
2016-06-29 14:58:07 +00:00
Michael Ow
7ef631ba4f ICU-12564 Update copyright notice in ICU4J
X-SVN-Rev: 38875
2016-06-22 22:12:16 +00:00
Stuart Gill
64d55b5319 ICU-12578 Made almost all methods of TestFmwk protected and static - also cleaned up static reference warnings in classes that use TestFmwk
X-SVN-Rev: 38868
2016-06-20 23:23:21 +00:00
Yoshito Umaoka
ce548be975 ICU-12596 Added @Ignore to TestCollectionUtilitySpeed for now.
X-SVN-Rev: 38852
2016-06-16 17:35:01 +00:00
Stuart Gill
cfe6d86f51 ICU-10152 JUnit Changes
X-SVN-Rev: 38795
2016-06-03 23:44:30 +00:00
Yoshito Umaoka
6e907382d0 ICU-12450 Promoted TestBoilerplate subclasses to independent classes and applied minor changes to satisfy the ICU4J test code requirements, then include them in the regular test run. Also turned StringBoilerplate to a test case.
X-SVN-Rev: 38703
2016-05-05 07:42:21 +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
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
Yoshito Umaoka
3af51fe196 ICU-12186 Fixed Eclipse compiler warnings - mostly javadoc warnings.
X-SVN-Rev: 38496
2016-03-05 01:31:16 +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
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
Mark Davis
ac4466583f ICU-11721 small fixes
X-SVN-Rev: 37919
2015-09-09 13:27:10 +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
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
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
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
Markus Scherer
c770e4d458 ICU-10751 AnyScriptTest/TestScripts logKnownIssue(11171)
X-SVN-Rev: 36290
2014-08-29 17:56:50 +00:00
Mark Davis
b60a1ed581 ICU-10931 minor cleanup.
X-SVN-Rev: 36287
2014-08-29 12:59:37 +00:00
Mark Davis
b741781903 ICU-10600 Add currencies (need some ugly hacks for that...)
X-SVN-Rev: 36181
2014-08-17 15:26:18 +00:00
Andy Heninger
0cae113eec ICU-10673 AnyTransliterator thread safety fix.
X-SVN-Rev: 35249
2014-02-27 18:58:29 +00:00
Markus Scherer
196921e4cd ICU-10168 minor improvements for unicodetools
X-SVN-Rev: 34095
2013-08-27 18:05:47 +00:00
Yoshito Umaoka
5fbc363972 ICU-9743 Logging known issues with ticket information, instead of timebomb.
X-SVN-Rev: 33503
2013-04-10 08:15:11 +00:00
Mark Davis
9c66e7e083 ICU-8474 correct isEmpty()
X-SVN-Rev: 33501
2013-04-09 09:04:45 +00:00
Mark Davis
74c81065f6 ICU-8474 updates to fix new rules, separate out test generation class, factory class, change toString() to roundtrip, etc.
X-SVN-Rev: 33499
2013-04-08 14:11:49 +00:00
Yoshito Umaoka
0a9b3e4833 ICU-9722 Updated the ICU4J version from 51.0.1 to 51.1 for RC. Moved timebombs.
X-SVN-Rev: 33323
2013-02-25 21:52:23 +00:00
Peter Edberg
19f17de6db ICU-9876 Pre-integrate some CLDR 23 additions/changes (J), part 2c through CLDR r8106
X-SVN-Rev: 33117
2013-02-03 19:04:54 +00:00
Yoshito Umaoka
814a90985f ICU-9722 Updated ICU4J version numbers except data.
X-SVN-Rev: 32799
2012-11-12 15:46:44 +00:00
Yoshito Umaoka
883e3dfb05 ICU-9582 Clean up import statements.
X-SVN-Rev: 32657
2012-10-18 17:32:46 +00:00
Yoshito Umaoka
9b428833c5 ICU-9645 Fixed the test case Test5006GetShortMonths and removed the timebomb.
X-SVN-Rev: 32588
2012-10-10 16:19:37 +00:00
Yoshito Umaoka
a9ced99c1f ICU-9435 Refactoring ICU non-core utilities. Added releaseCLDR target in build.xml for generating all CLDR release files including new source jar archives.
X-SVN-Rev: 32381
2012-09-14 03:57:54 +00:00