Commit Graph

198 Commits

Author SHA1 Message Date
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
George Rhoten
5a2455c7ec ICU-472 Added regression test.
X-SVN-Rev: 4545
2001-04-24 22:05:38 +00:00
George Rhoten
9a188e4b0b ICU-535 Fixed some compiler warnings.
X-SVN-Rev: 4264
2001-03-22 04:07:57 +00:00
Ram Viswanadha
ef97b534cd ICU-903 update copyright notices
X-SVN-Rev: 4233
2001-03-21 19:46:49 +00:00
Markus Scherer
f3af7019ac ICU-621 test u_isprint(all latin-1 graphic characters)
X-SVN-Rev: 4126
2001-03-16 02:24:55 +00:00
George Rhoten
119437f8ad ICU-894 reimplemented u_strncpy
X-SVN-Rev: 4118
2001-03-15 23:45:54 +00:00
Markus Scherer
f1347d5792 ICU-762 simple test of PUA properties
X-SVN-Rev: 4106
2001-03-15 20:40:27 +00:00
Markus Scherer
db8024b99d ICU-621 hardcode behavior for ISO 8 controls (their general categories may be set by genprops to other than Cc); improve properties performance
X-SVN-Rev: 4085
2001-03-15 02:01:25 +00:00
George Rhoten
b303ca9f41 ICU-865 One case where codepage specific characters were not needed
X-SVN-Rev: 3915
2001-03-06 03:52:35 +00:00
George Rhoten
a2f174b977 ICU-852 Added tests for the new u_mem* functions
X-SVN-Rev: 3822
2001-02-28 17:52:00 +00:00
Markus Scherer
7ff73b4f6d ICU-840 test case-insensitive string compare
X-SVN-Rev: 3620
2001-02-14 00:59:01 +00:00
George Rhoten
52203b6eeb ICU-580 OS/390 porting changes
X-SVN-Rev: 3598
2001-02-08 23:16:36 +00:00
George Rhoten
f868fa0272 ICU-838 Added u_austrncpy()
X-SVN-Rev: 3591
2001-02-08 03:01:21 +00:00
George Rhoten
26a05deb08 ICU-829 Various porting changes
X-SVN-Rev: 3512
2001-01-31 22:42:21 +00:00
George Rhoten
784c953388 ICU-829 Modified u_strtok_r test to not crash on Linux and removed a memory leak.
X-SVN-Rev: 3511
2001-01-31 22:20:38 +00:00
Markus Scherer
2bb746ae76 ICU-542 test full string upper-/lowercasing in C
X-SVN-Rev: 3504
2001-01-31 18:41:27 +00:00
George Rhoten
42a24ac7b5 ICU-829 Added u_strtok_r test
X-SVN-Rev: 3497
2001-01-30 20:59:23 +00:00
George Rhoten
f479e58a4b ICU-829 Tested for more edge cases with illegal character matching
X-SVN-Rev: 3494
2001-01-30 18:56:26 +00:00
George Rhoten
3b3a5e58c9 ICU-829 Added u_strspn, u_strcspn and u_strpbrk. Moved string copy testing to another function.
X-SVN-Rev: 3492
2001-01-30 03:25:05 +00:00
Markus Scherer
3570d50fa1 ICU-750 test u_strcmpCodePointOrder()
X-SVN-Rev: 3470
2001-01-24 02:36:54 +00:00
Markus Scherer
a93cba766c ICU-820 test u_getCombiningClass() with UnicodeData.txt using toolutil/uparse
X-SVN-Rev: 3465
2001-01-23 23:50:52 +00:00