Commit Graph

55 Commits

Author SHA1 Message Date
Michael Ow
310c23c24e ICU-8578 Apply patch to fix some compiler warnings and related issues
X-SVN-Rev: 30205
2011-06-10 18:56:08 +00:00
Michael Ow
dc0bdf415e ICU-8553 Ensure cintltst and intltest passes gracefully with warning without data in 4.8
X-SVN-Rev: 30088
2011-05-10 22:01:46 +00:00
Michael Ow
73c400496f ICU-8482 Close collator, break iterator, and search iterator after use.
X-SVN-Rev: 29877
2011-04-24 23:30:19 +00:00
Yoshito Umaoka
39f9a8686f ICU-8482 Changed the behavior of already broken match boundary condition - not to expand the result match length when 1) the end of CE match is a part of expansion 2) the limit of the CE match is already on a break boundary. Also flipped the behavior of isBreakBoundary, which was actually is*Not*BreakBoundary before.
X-SVN-Rev: 29848
2011-04-22 05:37:46 +00:00
Yoshito Umaoka
74e7b59d02 ICU-8415 Fixes for usearch_preceding and usearch_last regression bugs. The search test framework to cover usearch_following and usearch_preceding. Corrected and improved the API documentation for usearch_following/usearch_preceding. Merging these updates tested in my work branch to trunk.
X-SVN-Rev: 29681
2011-03-22 03:50:26 +00:00
Steven R. Loomis
d4b01a15b9 ICU-8363 cleanup test (remove warnings)
X-SVN-Rev: 29569
2011-03-08 03:15:57 +00:00
Steven R. Loomis
6d2d792372 ICU-8363 use PCELength for buffer size
X-SVN-Rev: 29567
2011-03-08 03:04:44 +00:00
Michael Ow
4ff56e0dd5 ICU-8398 Log data errors where appropriate so ensure cintltst and intltest passes without data in 4.7.1
X-SVN-Rev: 29529
2011-03-03 19:29:57 +00:00
Peter Edberg
f0fe89f14c ICU-8290 (1) in ucol_IGetNextCE/ucol_IGetPrevCE, add iteration when an ignorable
element is produced from Hangul expansion so it loops again to process the first jamo
from the expansion before returning; (2) in ucol_prv_getSpecialPrevCE, when Hangul
are expanded, add offsets for the expansion chars (as in collPrevIterNormalize).

X-SVN-Rev: 29473
2011-02-24 19:02:08 +00:00
Peter Edberg
ad87082ae1 ICU-7093 (merge from branch) Implement asymmetric search, add tests, kill some other warnings
X-SVN-Rev: 27714
2010-02-27 01:01:45 +00:00
Michael Ow
c6385f6209 ICU-7068 Add statements to ensure that uconfigtest passes
X-SVN-Rev: 26466
2009-08-04 21:09:17 +00:00
Michael Ow
9100ba632e ICU-6905 Log errors as data errors where appropriate to ensure cintltst passes without data. Some areas don't propagate error code. Add new error log function to check for error code.
X-SVN-Rev: 26084
2009-06-09 21:28:13 +00:00
Michael Ow
0a55b20859 ICU-6554 Close collator and usearch object after use.
X-SVN-Rev: 25561
2009-03-12 17:56:18 +00:00
Eric Mader
13a9d2c3ec ICU-6717 return quaternary value as CE for strengths QUATERNARY, IDENTICAL. Re-enable TestSearchForNull.
X-SVN-Rev: 25368
2009-02-03 19:50:39 +00:00
Eric Mader
57e86d3127 ICU-6576 Check code points for UCOL_IDENTICAL. Recompute processed pattern CEs if strength changes from < quaternary to >= quaternary or visa versa.
X-SVN-Rev: 24749
2008-10-07 23:37:42 +00:00
Steven R. Loomis
1c2cc48c0d ICU-4184 updated test to improve flexibility. This test does fail, so it was commented out until fixed. Added comments to the ticket.
X-SVN-Rev: 24664
2008-09-26 21:13:15 +00:00
Brian Rower
3ff38d32ad ICU-4184 adding UString init to null string search, made test active
X-SVN-Rev: 24521
2008-08-22 23:10:22 +00:00
Brian Rower
59face9f13 ICU-4184 Fixed C++ style comments
X-SVN-Rev: 24491
2008-08-12 23:55:55 +00:00
Brian Rower
181e789592 ICU-4184 Removed test case until functionality is repaired.
X-SVN-Rev: 24486
2008-08-11 18:26:36 +00:00
Brian Rower
8d4078172f ICU-4184 Added test case searching for NULL character
X-SVN-Rev: 24473
2008-08-08 19:04:23 +00:00
Steven R. Loomis
1a359a2fe6 ICU-6344 disable search if break iteration is on
X-SVN-Rev: 24260
2008-06-20 22:53:25 +00:00
Eric Mader
3d2690efdd ICU-6337 TestDiacriciticMatch: use "en_US" instead of default locale.
X-SVN-Rev: 24229
2008-06-18 21:37:41 +00:00
Michael Ow
bd22023816 ICU-5955 Increase the initial size of value to eliminate segmentation fault on Solaris 10.
X-SVN-Rev: 24139
2008-06-10 15:40:19 +00:00
Michael Ow
f5b2610706 ICU-4038 Add test case in cintltst.
X-SVN-Rev: 24117
2008-06-06 19:34:51 +00:00
Eric Mader
f3064ad5f8 ICU-5420 remove debugging output from TestNormExact
X-SVN-Rev: 23983
2008-05-26 20:22:18 +00:00
Eric Mader
246077067f ICU-5420 print debugging info in TestNormExact
X-SVN-Rev: 23981
2008-05-23 19:17:20 +00:00
Eric Mader
9011fe483f ICU-5420 merge changes from branches/eric/string-search r.23303 - r.23976
X-SVN-Rev: 23977
2008-05-23 04:22:28 +00:00
George Rhoten
6feced2f5d ICU-6076 Fix some memory leaks found during testing for easier valgrind filtering.
X-SVN-Rev: 23441
2008-02-16 02:29:58 +00:00
Michael Ow
feba867323 ICU-4279 Add test case for NFD and NFC string search.
X-SVN-Rev: 22873
2007-10-30 19:45:55 +00:00
Michael Ow
3b76a8e2fb ICU-5950 Added test case and added internal breakiterator to hold the character breakiterator.
X-SVN-Rev: 22854
2007-10-25 22:02:54 +00:00
Michael Ow
f6ec12ee6c ICU-5024 Add test case for diactric matching bug.
X-SVN-Rev: 22839
2007-10-23 19:09:59 +00:00
George Rhoten
b5e9f17cdd ICU-5445 Fix some compiler warnings.
X-SVN-Rev: 22120
2007-07-24 08:30:41 +00:00
George Rhoten
62e47ceb17 ICU-3905 Fix some compiler warnings
X-SVN-Rev: 16760
2004-11-04 23:43:46 +00:00
George Rhoten
bcead7df44 ICU-3905 Fix some compiler warnings
X-SVN-Rev: 16756
2004-11-04 22:24:46 +00:00
Eric Mader
c5705d3767 ICU-3770 Updated copyright notices for ICU 3.0
X-SVN-Rev: 15413
2004-05-19 21:19:13 +00:00
Vladimir Weinstein
88f247fcf7 ICU-3593 Disable instantiantion of string search when CODAN for collator is on
X-SVN-Rev: 14526
2004-02-16 19:08:50 +00:00
Vladimir Weinstein
dd9f455a49 ICU-2840 tests shouldn't crash if there is no data
X-SVN-Rev: 12282
2003-06-04 19:02:41 +00:00
Vladimir Weinstein
b74dd8f3f2 ICU-2959 Added copyright notices to files that didn't have them
X-SVN-Rev: 12266
2003-06-04 01:06:48 +00:00
Vladimir Weinstein
29a77b345e ICU-2135 more memory problems fixes
X-SVN-Rev: 10415
2002-12-02 17:57:21 +00:00
Vladimir Weinstein
8e192f2f4a ICU-2135 fixing memory problems
X-SVN-Rev: 10407
2002-11-28 08:53:37 +00:00
Steven R. Loomis
1234754799 ICU-2248 modularize icu- fix tests
X-SVN-Rev: 9946
2002-10-02 17:18:04 +00:00
Markus Scherer
44707c157b ICU-2248 modularize ICU
X-SVN-Rev: 9903
2002-09-20 17:54:45 +00:00
Syn Wee Quek
1ba4040cd8 ICU-2018
breakiterator bug terminated

X-SVN-Rev: 9318
2002-07-24 19:57:46 +00:00
George Rhoten
837c7710b4 ICU-1816 Disable language extensions for the compiler.
X-SVN-Rev: 8283
2002-03-28 18:26:25 +00:00
George Rhoten
d526f82b4e ICU-1745 Don't put // in C files.
X-SVN-Rev: 8157
2002-03-20 18:40:58 +00:00
Syn Wee Quek
ce3295e827 ICU-1745
strictly restrict matches to fit the breakiterator range exactly.

X-SVN-Rev: 8125
2002-03-19 21:50:15 +00:00
Markus Scherer
8c78422db2 ICU-1561 replace all UTextOffset with int32_t
X-SVN-Rev: 7942
2002-03-12 01:32:42 +00:00
Syn Wee Quek
8b31fa8d51 ICU-1705 Internal collator update supported.
X-SVN-Rev: 7635
2002-02-13 01:01:33 +00:00
George Rhoten
e6dfe4d735 ICU-770 Verify that ICU can be reused after calling u_cleanup
X-SVN-Rev: 7439
2002-01-16 04:33:33 +00:00
Syn Wee Quek
6e371a1166 ICU-1030
Fixed compiler warnings.

X-SVN-Rev: 6348
2001-10-19 23:03:24 +00:00