Commit Graph

230 Commits

Author SHA1 Message Date
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
George Rhoten
32b80ac33f ICU-535 Fixed some compiler warnings
X-SVN-Rev: 3360
2001-01-03 00:10:21 +00:00
George Rhoten
994d196cbb ICU-432 Fixed a very odd leak with cloctest, cucdtst and crestst
X-SVN-Rev: 3245
2000-12-15 19:16:43 +00:00
Steven R. Loomis
0c8f5b9554 ICU-743 data rearrangement
X-SVN-Rev: 3096
2000-12-01 21:07:42 +00:00
George Rhoten
9ebd873d92 ICU-535 Fixed some compiler warnings.
X-SVN-Rev: 2969
2000-11-21 18:05:36 +00:00
George Rhoten
c9793c6267 ICU-535 Fixed some compiler warnings.
X-SVN-Rev: 2967
2000-11-21 04:05:39 +00:00
George Rhoten
3a45b19a66 ICU-651 u_strchr() can find NUL in a string now
X-SVN-Rev: 2658
2000-10-12 22:00:33 +00:00
Markus Scherer
9597f66a15 ICU-415 implement u_charFromNames()
X-SVN-Rev: 2630
2000-10-11 15:55:14 +00:00
Markus Scherer
2735ed80e3 ICU-415 complete u_enumCharNames()
X-SVN-Rev: 2626
2000-10-11 00:18:48 +00:00
Markus Scherer
f38c42be74 ICU-415 initial implementation of u_enumCharNames()
X-SVN-Rev: 2620
2000-10-10 17:33:09 +00:00
Markus Scherer
86edeb6bb6 ICU-644 test u_charName() better for modern vs. 1.0 names problems & with last 32 names in BMP
X-SVN-Rev: 2613
2000-10-09 20:24:55 +00:00
George Rhoten
9253fe4dd3 ICU-573 included stdlib.h and memory.h into files that need it for the utypes.h change
X-SVN-Rev: 2367
2000-08-28 21:43:03 +00:00
Markus Scherer
6021c28132 ICU-410 test u_unescape() preflighting
X-SVN-Rev: 2308
2000-08-17 17:13:05 +00:00
Markus Scherer
648b1d0536 ICU-410 test u_unescape()
X-SVN-Rev: 2301
2000-08-16 23:55:15 +00:00
George Rhoten
7a86150849 ICU-535 fixed some compiler warnings
X-SVN-Rev: 2247
2000-08-15 01:13:48 +00:00
Helena Chapman
3f2fb26333 ICU-401 Make 1.6 tree compiled and linked on S/400.
X-SVN-Rev: 2233
2000-08-14 23:35:57 +00:00
George Rhoten
fe2193ec6b ICU-535 fixed some compiler errors for UP-UX
X-SVN-Rev: 2174
2000-08-10 20:55:49 +00:00
Markus Scherer
09bbdebbe0 ICU-400 improve tests for u_strchr(), u_strstr(), u_strchr32() (compare pointers, not contents)
X-SVN-Rev: 1993
2000-07-20 21:32:19 +00:00
George Rhoten
95456913eb ICU-399 Added test to u_strstr
X-SVN-Rev: 1911
2000-07-17 20:41:57 +00:00
Vladimir Weinstein
45515c9a0c ICU-432 more memory leaks fixes
X-SVN-Rev: 1750
2000-07-06 23:01:50 +00:00
Madhu K
c8af7e00e5 ICU-447 Additional tests for extended code coverage
X-SVN-Rev: 1749
2000-07-06 21:56:24 +00:00
Steven R. Loomis
8bc3f0b83b ICU-478 u_uastrncpy fix
X-SVN-Rev: 1694
2000-06-29 01:41:04 +00:00
Steven R. Loomis
e6ff764cac ICU-447 buffer overrun in test
X-SVN-Rev: 1693
2000-06-29 01:15:31 +00:00
Madhu K
e73c8e2a36 ICU-447 Addtional tests for extended code coverage
X-SVN-Rev: 1653
2000-06-27 18:06:00 +00:00
Markus Scherer
bdf7b6866e ICU-221 test u_isWhitespace()
X-SVN-Rev: 1603
2000-06-12 19:49:49 +00:00
Markus Scherer
a087ecba43 ICU-397 test u_versionToString() error checking
X-SVN-Rev: 1553
2000-06-02 18:37:21 +00:00
Markus Scherer
aca0c53ac2 ICU-397 make u_versionFrom/ToString() public
X-SVN-Rev: 1437
2000-05-22 22:24:51 +00:00
Markus Scherer
f7e89b8e55 ICU-130 account for some control codes now having Zs Zl Zp Unicode properties
X-SVN-Rev: 1388
2000-05-18 17:49:51 +00:00
Markus Scherer
117c9b824b ICU-298 jitterbug 130: add support for u_isMirrored() and u_charMirror()
X-SVN-Rev: 1240
2000-04-24 22:44:06 +00:00
Steven R. Loomis
dbced2f8e3 ICU-365 improved version test
X-SVN-Rev: 1167
2000-04-19 20:00:49 +00:00
Markus Scherer
258dbe98d4 ICU-315 S/390 and EBCDIC updates
X-SVN-Rev: 970
2000-03-22 01:57:16 +00:00
Steven R. Loomis
47b86344d4 ICU-161 itoa -> cstring.h hdr file
X-SVN-Rev: 615
2000-01-17 22:59:59 +00:00
Helena Chapman
3aaa52af8d ICU-161 updated the copyright notices.
X-SVN-Rev: 596
2000-01-15 02:00:06 +00:00
Markus Scherer
0bb68dca34 ICU-210 improve version functions
X-SVN-Rev: 591
2000-01-15 00:03:30 +00:00
Helena Chapman
e578b4654d ICU-210 Added API test for u_getVersion().
X-SVN-Rev: 589
2000-01-14 23:41:58 +00:00
Helena Chapman
6efc3436b6 ICU-210 changed UVersionInfo typedef.
X-SVN-Rev: 552
2000-01-12 20:20:38 +00:00
Helena Chapman
4c95546548 ICU-210 changed the u_getVersion APIs to use UVersionInfo.
X-SVN-Rev: 551
2000-01-12 19:50:27 +00:00
Helena Chapman
218b24bba5 ICU-210 Three major changes:
u_getVersion: returns ICU release/version information
u_getUnicodeVersion: returns Unicode standard version supported in ICU
Renamed the original u_getVersion to u_getUnicodeVersion.

X-SVN-Rev: 536
2000-01-11 23:20:26 +00:00
Vladimir Weinstein
8b20f17f49 ICU-12 all public include files are now in unicode dir, all private icu_ functions renamed to uprv_
X-SVN-Rev: 473
1999-12-28 23:57:50 +00:00
Markus Scherer
2d26f13d40 ICU-175 rename errorName() to u_errorName()
X-SVN-Rev: 343
1999-12-08 23:31:17 +00:00
Steven R. Loomis
981fc8a22e ICU-157 posix support for udata.. linux dll support.. posix should work with mmapped files OK
X-SVN-Rev: 235
1999-11-23 04:49:35 +00:00
Markus Scherer
d3c9e756f1 ICU-158 add test for u_charName()
X-SVN-Rev: 215
1999-11-22 19:39:22 +00:00
Vladimir Weinstein
211dfe2e43 ICU-138 cintltst updated to test isalnum function
X-SVN-Rev: 188
1999-11-19 18:23:29 +00:00
Markus Scherer
9e4c1ad754 ICU-87 rename icu_getDefaultDataDirectory() to u_[get|set]DataDirectory()
X-SVN-Rev: 184
1999-11-18 22:50:13 +00:00
Steven R. Loomis
ba0efec3b7 ICU-82 Added test for unicode version (u_getVersion()), test will break if version changes w/o test change.
X-SVN-Rev: 167
1999-11-08 22:21:11 +00:00
Markus Scherer
07a2bc0937 ICU-6 more renaming of constant names
FAILURE -> U_FAILURE etc.

X-SVN-Rev: 76
1999-10-18 22:48:32 +00:00
Markus Scherer
b942cae860 ICU-6 change enum constants that do not conform to our naming conventions
X-SVN-Rev: 18
1999-10-07 00:07:53 +00:00
Helena Chapman
1ccc7d153f ICU version 1.3 merge from CMVS.
X-SVN-Rev: 9
1999-09-30 23:47:52 +00:00
Unknown User
aa0b0a88e8 Initial revision
X-SVN-Rev: 2
1999-08-16 21:50:52 +00:00