Commit Graph

87 Commits

Author SHA1 Message Date
Michael Ow
bc0c9167d8 ICU-7519 Because of certain compiler optimization options, remove usage of global variables in cintltst and use getter/setter functions instead.
X-SVN-Rev: 27907
2010-04-07 16:18:38 +00:00
Markus Scherer
8ddbd1394c ICU-7273 merge in Normalizer2 API & code, and ICU-5785 UnicodeSet::span(UnicodeString) and ICU-7296 tempSubString()/retainBetween(); merge -r 26971:27150 branches/markus/norm2
X-SVN-Rev: 27155
2010-01-06 23:50:03 +00:00
Andy Heninger
20e7751c2c ICU-6998 swat a bunch of compiler warnings.
X-SVN-Rev: 26288
2009-07-10 18:58:35 +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
Eric Mader
5f73103b5a ICU-6659 Merge changes from branches/eric/boyer-moore
X-SVN-Rev: 25282
2009-01-22 00:24:48 +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
77d4e43ed0 ICU-6076 Prevent appending too much.
X-SVN-Rev: 23448
2008-02-17 08:27:29 +00:00
George Rhoten
512e3f34da ICU-6076 Prevent crashes while testing memory failures.
X-SVN-Rev: 23445
2008-02-16 12:30:55 +00:00
George Rhoten
ededf15cbb ICU-6076 Fix some memory leaks found during testing for easier filtering.
X-SVN-Rev: 23439
2008-02-16 01:31:32 +00:00
George Rhoten
82b85fb45c ICU-6118 Remove the @internal functions ucol_collatorToIdentifier, ucol_openFromIdentifier, ucol_identifierToShortString and ucol_shortStringToIdentifier (not used by original customer and their data is out of date).
Remove some references to unused internal header references.
Make some functions library private.

X-SVN-Rev: 23177
2008-01-05 01:27:56 +00:00
George Rhoten
2659a41917 ICU-6076 Add -m test option for easier memory failure testing.
The number of allocations can now be determined so that people can be
notified of a memory leak sooner than later in a development cycle.
Only C based test frameworks are affected.
Some test fixes for when the memory is limited to 100K per allocation are also
added.

X-SVN-Rev: 23042
2007-12-07 10:49:34 +00:00
Claire Ho
c6dab684b7 ICU-5913 FCD broken in vi/ro sorts.
X-SVN-Rev: 22988
2007-11-30 04:29:20 +00:00
George Rhoten
9ef5cb1a9f ICU-5486 Testing collation keywords from CLDR.
X-SVN-Rev: 21818
2007-06-24 19:01:59 +00:00
George Rhoten
7f0ecace85 ICU-5298 Fix memory leak from last test addition.
X-SVN-Rev: 20867
2007-01-08 17:20:05 +00:00
George Rhoten
11d77d9a9f ICU-5298 Fix for non-Windows compilers.
X-SVN-Rev: 20619
2006-10-31 23:57:44 +00:00
Ram Viswanadha
2ac62d437c ICU-5298 add a test
X-SVN-Rev: 20603
2006-10-27 17:55:28 +00:00
George Rhoten
83a4330cb6 ICU-5426 Make sure that some functions can use const data.
X-SVN-Rev: 20428
2006-09-28 15:38:06 +00:00
George Rhoten
6e750cbb3b ICU-4707 Fix some compiler warnings.
X-SVN-Rev: 20156
2006-08-24 21:03:52 +00:00
Vladimir Weinstein
6b10461c41 ICU-4960 Additional convenience test methods
X-SVN-Rev: 19037
2006-01-28 08:25:24 +00:00
Eric Mader
41ca4f63ee ICU-4428 update copyright notices for ICU 3.3.
X-SVN-Rev: 17296
2005-03-08 22:49:59 +00:00
George Rhoten
b669afd469 ICU-4092 Move debugging code
X-SVN-Rev: 17099
2005-01-07 19:08:29 +00:00
George Rhoten
7948649d33 ICU-4092 Move debugging code
X-SVN-Rev: 17098
2005-01-07 19:06:24 +00:00
Andy Heninger
665e553354 ICU-4161 remove tabs from source code
X-SVN-Rev: 16829
2004-11-11 23:34:58 +00:00
George Rhoten
6a80fd1c86 ICU-3805 Break the circular dependency between utypes.h and putil.h
X-SVN-Rev: 16356
2004-09-23 00:24:36 +00:00
George Rhoten
437efd9802 ICU-3500 Fix some compiler warnings
X-SVN-Rev: 15745
2004-06-05 06:54:01 +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
5d33a85eac ICU-3537 Test should preserve ICU data directory across u_cleanups
X-SVN-Rev: 14408
2004-01-26 22:43:25 +00:00
Vladimir Weinstein
a4513276b9 ICU-3537 fix for fcdTrieIndex cleanup
X-SVN-Rev: 14406
2004-01-26 21:16:25 +00:00
George Rhoten
d7cb735e72 ICU-3222 Fix some compiler warnings
X-SVN-Rev: 14361
2004-01-17 00:06:19 +00:00
Eric Mader
f74b4bdfad ICU-3514 changes to avoid crahses when there's no ICU data.
X-SVN-Rev: 14354
2004-01-16 21:31:17 +00:00
Vladimir Weinstein
970804fd0b ICU-3515 tests for implicit generation, ce validity + some refactoring
X-SVN-Rev: 14351
2004-01-16 07:14:08 +00:00
Vladimir Weinstein
6be38162d2 ICU-871 revert syn wee's changes to contraction handling
X-SVN-Rev: 13839
2003-11-24 19:40:10 +00:00
Syn Wee Quek
95b7eaadc2 ICU-871 synching forward and reverse iteration to have exactly the same collation elements
X-SVN-Rev: 13386
2003-10-10 00:55:32 +00:00
Vladimir Weinstein
b46dadcde8 ICU-3123 minor refactoring of test utility functions
X-SVN-Rev: 12652
2003-07-22 16:45:58 +00:00
Vladimir Weinstein
c1614898f6 ICU-2840 tests shouldn't crash if there is no data
X-SVN-Rev: 12269
2003-06-04 06:53:23 +00:00
Alan Liu
de95737116 ICU-2959 update copyright dates to include 2003
X-SVN-Rev: 12253
2003-06-03 20:58:22 +00:00
Vladimir Weinstein
5f107b0b53 ICU-2699 fix some compiler warnings
X-SVN-Rev: 11934
2003-05-15 17:38:42 +00:00
Vladimir Weinstein
71091e109b ICU-2765 test data separated to calldata.h so that it can easily be used from both cintltst and intltest
X-SVN-Rev: 11629
2003-04-23 05:39:51 +00:00
Vladimir Weinstein
e1cf7436f1 ICU-2412 test tweak
X-SVN-Rev: 11230
2003-03-04 06:31:46 +00:00
Vladimir Weinstein
8b1cd3ae4c ICU-2412 refactored tests, better control over the execution time - needs support from ctest.c
X-SVN-Rev: 11114
2003-02-20 01:12:45 +00:00
George Rhoten
d858c07a68 ICU-2412 Don't use // in a C file
X-SVN-Rev: 10925
2003-01-29 21:33:29 +00:00
Vladimir Weinstein
bfe52dc06c ICU-2412 more work on ucol_strcollIter. Also added ucol_nextSortKeyPart. Code is still in flux and not for the faint of heart.
X-SVN-Rev: 10898
2003-01-23 01:52:34 +00:00
Vladimir Weinstein
137220f8e6 ICU-2412 ucol_strcollIter - strcoll that takes UCharIterator * - tests
X-SVN-Rev: 10871
2003-01-20 07:42:58 +00:00
Markus Scherer
44707c157b ICU-2248 modularize ICU
X-SVN-Rev: 9903
2002-09-20 17:54:45 +00:00
Vladimir Weinstein
978cef13a4 ICU-2293 fixed the length returned from u_unescape - it was counting the terminating zero, but it is supposed to return strlen of resulting string
X-SVN-Rev: 9844
2002-09-06 04:31:03 +00:00
George Rhoten
bf75d537d3 ICU-1739 fixed a memory access error
X-SVN-Rev: 9566
2002-08-03 05:58:30 +00:00
Vladimir Weinstein
71c2e432b3 ICU-1930 updated tests for the new UCA (some of them still fail, pending new data files)
X-SVN-Rev: 8883
2002-06-13 18:35:27 +00:00
George Rhoten
ef87bd06d5 ICU-900 Fixed some compiler warnings.
X-SVN-Rev: 6879
2001-11-14 02:51:50 +00:00
Ram Viswanadha
a3d0ae47b6 ICU-1098 Fix parsing of escapes.
X-SVN-Rev: 6658
2001-11-07 03:23:55 +00:00
Andy Heninger
06fb9f9f7d ICU-1401 NFD unsafe chars for collation fix.
X-SVN-Rev: 6478
2001-10-29 17:56:00 +00:00