Commit Graph

218 Commits

Author SHA1 Message Date
Vladimir Weinstein
8a6ea4c9fa ICU-2416 try to separate API tests from modules that use internal headers
X-SVN-Rev: 11932
2003-05-15 16:28:58 +00:00
Markus Scherer
9a4e0e4af2 ICU-2860 add UCONFIG_NO_NORMALIZATION and UCONFIG_NO_IDNA
X-SVN-Rev: 11808
2003-05-06 01:22:23 +00:00
Markus Scherer
41c2ebf526 ICU-2710 remove @obsolete ICU 2.6 and earlier code
X-SVN-Rev: 11748
2003-05-01 01:31:28 +00:00
Vladimir Weinstein
05354408fa ICU-2840 don't crash test when data is not present
X-SVN-Rev: 11738
2003-04-30 00:52:53 +00:00
Markus Scherer
66327a7842 ICU-2831 test 4 new C ctype.h/POSIX-style functions
X-SVN-Rev: 11683
2003-04-24 23:04:31 +00:00
Markus Scherer
8bc9f647b8 ICU-2427 final Unicode 4 update
X-SVN-Rev: 11595
2003-04-19 00:21:15 +00:00
Markus Scherer
14d7849f59 ICU-1483 remove digit values for Han characters
X-SVN-Rev: 11480
2003-04-09 18:38:08 +00:00
Markus Scherer
99fbf11da7 ICU-2427 more code points with default bidi classes - parse DerivedBidiClass.txt for them
X-SVN-Rev: 11448
2003-04-03 19:41:00 +00:00
Ram Viswanadha
777eabd944 ICU-2427 test for the bug
X-SVN-Rev: 11432
2003-04-01 22:09:59 +00:00
Markus Scherer
f2b1b64dc1 ICU-2427 more Unicode 4 data updates
X-SVN-Rev: 11337
2003-03-17 18:02:10 +00:00
Markus Scherer
b89a8122f2 ICU-2427 add Han numeric values
X-SVN-Rev: 11322
2003-03-14 22:00:19 +00:00
Markus Scherer
af52fd13b1 ICU-2427 more Unicode 4 data updates
X-SVN-Rev: 11316
2003-03-14 19:24:55 +00:00
Markus Scherer
880693b17f ICU-2427 test property Hangul_Syllable_Type
X-SVN-Rev: 11273
2003-03-08 02:01:15 +00:00
Markus Scherer
f0d2453789 ICU-2427 upgrade to Unicode 4
X-SVN-Rev: 11263
2003-03-07 21:45:17 +00:00
Markus Scherer
6d4359784d ICU-2478 replace UBLOCK_INVALID_CODE=-1 by new UBLOCK_NO_BLOCK=0 in most cases
X-SVN-Rev: 11226
2003-03-04 00:52:07 +00:00
Markus Scherer
a0d1a524df ICU-2427 add some UCD/ICU consistency checks
X-SVN-Rev: 11144
2003-02-24 00:40:58 +00:00
Markus Scherer
c7ce296bdc ICU-2657 add a check to verify [:Nd:]==[:Numeric_Type=Decimal:] which is expected to be true in Unicode 4.0
X-SVN-Rev: 11025
2003-02-11 23:25:41 +00:00
Markus Scherer
fa4d373013 ICU-2657 minor test improvements
X-SVN-Rev: 11015
2003-02-11 01:57:51 +00:00
Markus Scherer
9fcdfc0f88 ICU-2657 minor test improvements
X-SVN-Rev: 11001
2003-02-09 21:04:13 +00:00
Alan Liu
53406ecc37 ICU-2556 implement UCHAR_GENERAL_CATEGORY_MASK in name api; refine min/max behavior
X-SVN-Rev: 10596
2002-12-11 01:09:02 +00:00
Markus Scherer
1ac328c13c ICU-2556 add UCHAR_GENERAL_CATEGORY_MASK
X-SVN-Rev: 10570
2002-12-10 00:33:45 +00:00
Ram Viswanadha
6996158d17 ICU-2118 improve API coverage
X-SVN-Rev: 10393
2002-11-27 02:11:42 +00:00
Alan Liu
93e834a970 ICU-2410 make max(bogus)=-1, script(bogus)=0, min(script)=0
X-SVN-Rev: 10234
2002-11-13 20:03:11 +00:00
Alan Liu
3dd0c38fd1 ICU-2015 add property alias test; update script test for new data
X-SVN-Rev: 10104
2002-10-30 18:26:16 +00:00
Markus Scherer
56b303282e ICU-1794 split ustring.h function tests from cucdtst.c into new custrtst.c
X-SVN-Rev: 9997
2002-10-09 18:35:04 +00:00
Ram Viswanadha
bf2640bf1c ICU-2323 Test fix for ID 7
X-SVN-Rev: 9990
2002-10-08 17:46:06 +00:00
Markus Scherer
6b1fa6036a ICU-2150 simplify/improve UTF macros
X-SVN-Rev: 9930
2002-09-30 04:00:17 +00:00
Markus Scherer
44707c157b ICU-2248 modularize ICU
X-SVN-Rev: 9903
2002-09-20 17:54:45 +00:00
Markus Scherer
c4f6ebe78e ICU-2146 fix UChar32 type mismatches
X-SVN-Rev: 9901
2002-09-20 16:02:16 +00:00
Steven R. Loomis
669c72ef06 ICU-1941 don't fail in lipo mode (first of many)
X-SVN-Rev: 9872
2002-09-17 19:45:50 +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
Markus Scherer
dce332b77d ICU-2153 test internal APIs for max name length and used-character sets
X-SVN-Rev: 9829
2002-09-02 21:50:35 +00:00
Alan Liu
6a1ee4f141 ICU-2153 C implementation and test for uprv_getCharNameCharacters()
X-SVN-Rev: 9819
2002-08-29 23:11:50 +00:00
George Rhoten
56cbadb751 ICU-2085 Don't use deprecated code anymore
X-SVN-Rev: 9755
2002-08-21 19:09:33 +00:00
George Rhoten
b9428ad850 ICU-2030 Undo another change. We want this function to be static
X-SVN-Rev: 9540
2002-08-02 18:01:21 +00:00
Ram Viswanadha
8697b8894f ICU-1970 UBLOCKS_ should actually be UBLOCK_
X-SVN-Rev: 9536
2002-08-02 00:48:42 +00:00
Markus Scherer
b69618fe43 ICU-1961 fix Han digit code point for "4"
X-SVN-Rev: 9449
2002-07-30 23:45:36 +00:00
George Rhoten
a96dee9330 ICU-2030 Reenable the call to parse the file.
X-SVN-Rev: 9428
2002-07-30 02:35:48 +00:00
Andy Heninger
f0f44e915e ICU-2030 WIndows build changes to allow apps to use static C runtime lib
X-SVN-Rev: 9400
2002-07-29 21:04:18 +00:00
George Rhoten
7e92471c93 ICU-1947 Better usage for U_EXPORT2 and U_CALLCONV
X-SVN-Rev: 9295
2002-07-23 23:01:08 +00:00
George Rhoten
6f41d5021a ICU-1970 Fix for z/OS optimization
X-SVN-Rev: 9293
2002-07-23 21:20:08 +00:00
George Rhoten
fc657b31ca ICU-1970 Use epsilon for u_getNumericValue test.
X-SVN-Rev: 9210
2002-07-16 19:56:22 +00:00
Markus Scherer
9fcff5cd78 ICU-1987 test default bidi classes for unassigned code points
X-SVN-Rev: 9164
2002-07-15 22:29:47 +00:00
Markus Scherer
d5ac417ad6 ICU-1970 test additional properties
X-SVN-Rev: 9157
2002-07-15 16:40:07 +00:00
Eric Mader
e79b6374ca ICU-1289 Move UScriptRun to usc_impl.h for now.
X-SVN-Rev: 9059
2002-07-08 23:41:33 +00:00
George Rhoten
0078f2f53e ICU-900 Fixed some compiler warnings.
X-SVN-Rev: 8766
2002-06-01 06:36:02 +00:00
Markus Scherer
574a2f5378 ICU-1923 fix test bugs, choose still-unassigned code point U+fa6b instead of U+fa30
X-SVN-Rev: 8748
2002-05-31 01:19:27 +00:00
Markus Scherer
3313286a27 ICU-1728 add API tests for u_strCompare
X-SVN-Rev: 8704
2002-05-24 23:23:40 +00:00
Eric Mader
111446f691 ICU-1289 add complete API testing.
X-SVN-Rev: 8624
2002-05-14 22:47:06 +00:00
Markus Scherer
e64cea6ab7 ICU-1728 add tests for code point order comparisons with surrogate code points
X-SVN-Rev: 8610
2002-05-13 22:55:39 +00:00
Eric Mader
a9ba9cedec ICU-1289 Add UScriptRun to uscripts.h
X-SVN-Rev: 8607
2002-05-13 21:50:59 +00:00
George Rhoten
d950e15b50 ICU-900 Fixed some compiler warnings.
X-SVN-Rev: 8334
2002-04-02 03:15:12 +00:00
George Rhoten
7777030a4f ICU-1828 Remove tabs
X-SVN-Rev: 8331
2002-04-02 02:55:31 +00:00
George Rhoten
939bd0cc49 ICU-1811 Increase code coverage of u_memchr32
X-SVN-Rev: 8275
2002-03-28 01:02:05 +00:00
Markus Scherer
8cc6750ee1 ICU-1542 test u_memchr32 for surrogate code points
X-SVN-Rev: 8097
2002-03-18 23:26:21 +00:00
Markus Scherer
d46d1b3fc4 ICU-1464 add convenience macros for bit sets for general categories
X-SVN-Rev: 8006
2002-03-13 23:31:12 +00:00
Markus Scherer
ed77825943 ICU-1721 test new u_hasBinaryProperty() & u_isUXyz()
X-SVN-Rev: 7949
2002-03-12 19:09:41 +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
Markus Scherer
ef2283d2ec ICU-1721 make u_charAge() public
X-SVN-Rev: 7876
2002-03-04 01:22:45 +00:00
Yves Arrouye
f5fcc22bbb ICU-1707 check that u_enumCharNames() with U_EXTENDED_CHAR_NAME does
call the callback for each code point. Also, in addition to the checks that
are already made for the other types of names, check that two subsequent
calls pass two consecutive code points, and ensure that no name is empty,
since U_EXTENDE_CHAR_NAME generates a name for every single code point.

X-SVN-Rev: 7872
2002-03-03 05:38:50 +00:00
Ram Viswanadha
ce608af1c0 ICU-1721 update tests
X-SVN-Rev: 7830
2002-03-01 02:24:08 +00:00
Ram Viswanadha
bd419c3703 ICU-1721 update tests
X-SVN-Rev: 7828
2002-03-01 02:04:21 +00:00
Markus Scherer
e4c4da7ad9 ICU-1721 test u_charAge()
X-SVN-Rev: 7782
2002-02-25 22:43:38 +00:00
Yves Arrouye
9a83727ef7 ICU-1688 check that we always have the Unicode 1.0 names. (They were on on Windows,
but forgotten on Unix.

X-SVN-Rev: 7754
2002-02-24 23:03:48 +00:00
Yves Arrouye
4d32f54ae5 ICU-1707 fix tests for u_enumCharNames, and adjusted number of chars
to reflect current version of Unicode.

X-SVN-Rev: 7752
2002-02-24 22:36:56 +00:00
Yves Arrouye
b480b89118 ICU-1709 fix check for u_charName() now that some of our test data
have empty names (e.g. surrogates) for some options.

X-SVN-Rev: 7750
2002-02-24 22:16:27 +00:00
Yves Arrouye
504a75e931 ICU-1709 do not tweak the UCD data to mark some control characters
as spacing ones.

X-SVN-Rev: 7749
2002-02-24 21:00:19 +00:00
Markus Scherer
b24a8e910f ICU-1542 fix indexOf(UChar32 surrogate), lastIndexOf(UChar32 surrogate), u_strchr32(surrogate) to match char32At()/UTF_GET_CHAR()
X-SVN-Rev: 7744
2002-02-22 02:00:42 +00:00
Markus Scherer
b98c5f7dd7 ICU-1126 move case mapping tests to cstrcase.c
X-SVN-Rev: 7736
2002-02-21 18:43:58 +00:00
George Rhoten
83656c2517 ICU-1627 Make the new directory structure work better with the tests.
X-SVN-Rev: 7702
2002-02-19 02:07:41 +00:00
Yves Arrouye
867a05adb8 ICU-1707 fix test
X-SVN-Rev: 7675
2002-02-15 01:42:58 +00:00
Yves Arrouye
43314efea3 ICU-1707 test for the names produced by u_charName() w/ the
U_EXTENDED_CHAR_NAME option.

X-SVN-Rev: 7656
2002-02-14 05:38:53 +00:00
George Rhoten
b269dce12c ICU-900 Fixed some compiler warnings.
X-SVN-Rev: 7608
2002-02-08 04:53:41 +00:00
Ram Viswanadha
e851b5fd86 ICU-1627 fix paths for outofsource builds
X-SVN-Rev: 7502
2002-01-24 23:05:19 +00:00
Ram Viswanadha
ab1317f800 ICU-1627 Update paths to find data from new location
X-SVN-Rev: 7466
2002-01-21 21:10:18 +00:00
Markus Scherer
f4190c00c7 ICU-1611 add and test u_enumCharTypes
X-SVN-Rev: 7434
2002-01-12 00:11:09 +00:00
George Rhoten
df7dbcfa82 ICU-1593 Fix for the case when there are no delimiters found.
X-SVN-Rev: 7372
2001-12-27 00:13:20 +00:00
Markus Scherer
268abe3937 ICU-1586 add common trie implementation
X-SVN-Rev: 7327
2001-12-06 01:23:47 +00:00
George Rhoten
16a1af1287 ICU-900 Fixed some compiler warnings.
X-SVN-Rev: 6842
2001-11-13 21:28:47 +00:00
Markus Scherer
ee745bd54e ICU-1081 add tests for case folding/compare, especially with "exclude special i"
X-SVN-Rev: 6755
2001-11-11 00:31:42 +00:00
Markus Scherer
67ac4d3964 ICU-1269 make u_charFromName() work with mixed-case input names
X-SVN-Rev: 6648
2001-11-06 23:45:12 +00:00
Ram Viswanadha
cc748a6c21 ICU-1423 Add test
X-SVN-Rev: 6602
2001-11-03 03:03:43 +00:00
Andy Heninger
cf191f47df ICU-1404 Fix broken out-of-source-directory build
X-SVN-Rev: 6571
2001-11-02 02:24:15 +00:00
Ram Viswanadha
1357a73d28 ICU-899 Updates for UScript API
X-SVN-Rev: 6432
2001-10-25 20:10:37 +00:00
Ram Viswanadha
5a3494cf54 ICU-899 change uscript_getCode() API to accept fillin buffer and capacity
X-SVN-Rev: 6389
2001-10-23 02:00:50 +00:00
Markus Scherer
03eb0196df ICU-1290 test u_charName(cjk ext b)
X-SVN-Rev: 6359
2001-10-20 00:31:08 +00:00
Markus Scherer
7c9e05d2a8 ICU-1081 case folding changed between Unicode 3.0.1 and 3.1.1 for sigmas - test different characters
X-SVN-Rev: 6272
2001-10-17 00:39:03 +00:00
Ram Viswanadha
949cd4f165 ICU-1277 Update UBlockCode API to Unicode 3.1
X-SVN-Rev: 6251
2001-10-15 23:49:06 +00:00
Andy Heninger
71f004be68 ICU-1247 Fix tests and test builds so that tests will run against installed libraries.
X-SVN-Rev: 5954
2001-09-28 00:31:53 +00:00
Ram Viswanadha
4502c7670c ICU-452 Fix compiler warnings and make tests pass on Solaris and Alpha
X-SVN-Rev: 5896
2001-09-22 01:54:21 +00:00
Ram Viswanadha
66764b5012 ICU-899 Add uscript_getScript() API.
X-SVN-Rev: 5865
2001-09-21 05:09:22 +00:00
Ram Viswanadha
fc6c9d778f ICU-899 Fix tests after changes to API.
X-SVN-Rev: 5733
2001-09-11 05:02:26 +00:00
George Rhoten
b58c59045a ICU-1099 Test the change a bit more completely.
X-SVN-Rev: 5616
2001-08-30 01:55:50 +00:00
George Rhoten
cc7dd3911a ICU-900 Fixed some compiler warnings.
X-SVN-Rev: 5595
2001-08-28 01:04:07 +00:00
George Rhoten
d59831f9fc ICU-900 Fixed some compiler warnings
X-SVN-Rev: 5546
2001-08-20 20:39:16 +00:00
Ram Viswanadha
96ce0be9de ICU-899 Change U_INVALID_CODE to U_INVALID_SCRIPT_CODE and fix testing for error code
X-SVN-Rev: 5422
2001-08-02 16:44:21 +00:00
George Rhoten
fc3c7b6ed4 ICU-1043 Better testing of saveState.
X-SVN-Rev: 5370
2001-07-30 16:15:38 +00:00
George Rhoten
1f063c715d ICU-1043 strtok_r should work with strings ending with delimiters.
X-SVN-Rev: 5245
2001-07-16 22:57:39 +00:00
Ram Viswanadha
d42cadc69a ICU-899 Test the UScriptCode API
X-SVN-Rev: 5217
2001-07-10 18:35:59 +00:00
George Rhoten
70a269d34a ICU-472 Revised regression test for u_uastrncpy
X-SVN-Rev: 4546
2001-04-24 22:34:28 +00:00