Commit Graph

133 Commits

Author SHA1 Message Date
Markus Scherer
e207ba9a7c ICU-2950 add public operator + to UnicodeString
X-SVN-Rev: 13544
2003-10-31 21:28:46 +00:00
George Rhoten
bd5472281f ICU-3221 Fix some AIX linker warnings.
X-SVN-Rev: 13482
2003-10-24 01:04:44 +00:00
Alan Liu
800f4020cb ICU-2804 add UnicodeString test for \x{...}
X-SVN-Rev: 11861
2003-05-09 16:15:49 +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
Markus Scherer
ece6fe9eca ICU-1730 add Replaceable::clone()
X-SVN-Rev: 11741
2003-04-30 22:08:57 +00:00
Markus Scherer
959aa6bab4 ICU-2356 all UnicodeString methods should treat NULL input pointers as empty strings
X-SVN-Rev: 11739
2003-04-30 02:22:02 +00:00
Steven R. Loomis
89e04417da ICU-2542 better test err output
X-SVN-Rev: 10510
2002-12-05 21:36:06 +00:00
Markus Scherer
fdc0319c0f ICU-2118 improve UnicodeString API coverage
X-SVN-Rev: 10385
2002-11-26 23:33:37 +00:00
Markus Scherer
dc2a132696 ICU-2351 allow remove(guaranteed everything) and truncate(0) to also un-bogus a string
X-SVN-Rev: 10289
2002-11-19 02:12:39 +00:00
Markus Scherer
c9d8242c60 ICU-2351 test that behavior of bogus strings is consistent with NULL: only assignment revives a bogus string
X-SVN-Rev: 10283
2002-11-16 01:15:29 +00:00
Markus Scherer
ee0d1cd5db ICU-2145 fix a test bug
X-SVN-Rev: 10156
2002-11-06 00:55:08 +00:00
Markus Scherer
a617b35b4a ICU-1794 test UnicodeString::hasMoreChar32Than
X-SVN-Rev: 10004
2002-10-09 21:36:47 +00:00
Markus Scherer
c8bba9db42 ICU-2343 remove UCharReference and non-const UnicodeString::operator[]
X-SVN-Rev: 9994
2002-10-08 23:56:15 +00:00
Markus Scherer
e37690683e ICU-2351 all UnicodeString modifications should make a bogus string valid/empty
X-SVN-Rev: 9980
2002-10-05 00:38:27 +00:00
George Rhoten
6baf89a4cd ICU-2085 Don't use deprecated or unused includes
X-SVN-Rev: 9762
2002-08-21 22:14:43 +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
343d6e93ba ICU-900 Fixed some compiler warnings.
X-SVN-Rev: 9342
2002-07-25 18:32:04 +00:00
Markus Scherer
5a81709c73 ICU-1962 derive all ICU C++ classes from common UObject base class
X-SVN-Rev: 8953
2002-06-27 01:19:20 +00:00
Markus Scherer
712900b007 ICU-1920 test UnicodeString::getTerminatedBuffer()
X-SVN-Rev: 8823
2002-06-08 19:36:19 +00:00
George Rhoten
d6629b8414 ICU-1923 Properly test StringCaseTest
X-SVN-Rev: 8791
2002-06-05 17:56:33 +00:00
Markus Scherer
0a70506190 ICU-1923 upgrade case folding to Unicode 3.2
X-SVN-Rev: 8769
2002-06-03 03:33:44 +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
Steven R. Loomis
2912227ccb ICU-1886 platform fix (AIX) - cast UChar32 explicitly to avoid ambiguous conversion
X-SVN-Rev: 8570
2002-05-08 16:38:32 +00:00
Doug Felt
77b6719b9b ICU-970 add substring constructors and setTo overload to UnicodeString
X-SVN-Rev: 8527
2002-04-26 18:02:49 +00:00
Markus Scherer
49ac6b4d18 ICU-1126 move case mapping tests to new strcase.cpp
X-SVN-Rev: 7997
2002-03-13 19:21:27 +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
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
b0a95e14d0 ICU-1549 test lj upper/lower-casing
X-SVN-Rev: 7272
2001-12-03 18:47:52 +00:00
Markus Scherer
b285d652e2 ICU-1549 add test for Deseret (plane 1) lower/upper-casing (string-casing)
X-SVN-Rev: 7107
2001-11-28 00:47:56 +00:00
Markus Scherer
d3a58fbbf4 ICU-785 test UnicodeString functions with input const UChar * and srcLength=-1
X-SVN-Rev: 6827
2001-11-13 19:26:41 +00:00
Markus Scherer
8592407177 ICU-1278 test new Unicode 3.1.1 SpecialCasing.txt context & locale conditions
X-SVN-Rev: 6270
2001-10-16 23:58:16 +00:00
Markus Scherer
7f4a609925 ICU-1081 test UnicodeString::foldCase()
X-SVN-Rev: 6245
2001-10-15 22:55:56 +00:00
Markus Scherer
f0537dec07 ICU-1267 test UnicodeString::/u_countChar32()
X-SVN-Rev: 6199
2001-10-11 21:41:11 +00:00
Markus Scherer
425b9aa29e ICU-1262 make US::setToBogus() public and test it
X-SVN-Rev: 6109
2001-10-06 00:22:40 +00:00
Markus Scherer
9f61db5f73 ICU-1262 make US::setToBogus() public and test it
X-SVN-Rev: 6107
2001-10-05 23:53:00 +00:00
Markus Scherer
ccb5577d4a ICU-1251 fix UnicodeString comparisons - were broken if buffers were shared but lengths different
X-SVN-Rev: 6090
2001-10-05 21:18:12 +00:00
Markus Scherer
761c91b967 ICU-1256 make US::getCapacity() public and use it
X-SVN-Rev: 6089
2001-10-05 20:44:56 +00:00
Markus Scherer
e86dbbf746 ICU-1222 change US::empty() to isEmpty()
X-SVN-Rev: 5946
2001-09-27 22:39:39 +00:00
Markus Scherer
62383a43e2 ICU-809 test UnicodeString::getBuffer() and releaseBuffer()
X-SVN-Rev: 5847
2001-09-20 22:20:44 +00:00
Markus Scherer
38453ee5d6 ICU-809 remove UnicodeString::getUChars()
X-SVN-Rev: 5829
2001-09-20 01:11:48 +00:00
Markus Scherer
6a8947faf3 ICU-1200 test new UnicodeString::extract() and constructor using UConverter
X-SVN-Rev: 5799
2001-09-18 23:02:57 +00:00
Markus Scherer
75fb3056aa ICU-1215 test US::reverse() with supplementary characters
X-SVN-Rev: 5794
2001-09-18 22:28:25 +00:00
Markus Scherer
3de9620e67 ICU-1200 adapt extract() to new termination semantics
X-SVN-Rev: 5772
2001-09-18 01:12:52 +00:00
Markus Scherer
bf5265e67a ICU-1197 test moveIndex32()
X-SVN-Rev: 5759
2001-09-17 22:05:41 +00:00
George Rhoten
149808f241 ICU-1109 Fix AIX and HP/UX compilation problem
X-SVN-Rev: 5710
2001-09-06 23:27:23 +00:00
Markus Scherer
0b21c95598 ICU-1109 add tests for the new US::extract() with NUL-termination and warning/error code
X-SVN-Rev: 5699
2001-09-06 00:13:11 +00:00
George Rhoten
ed236e08a0 ICU-1018 Change conflicts with versioning; moving ustream to ustdio.
X-SVN-Rev: 5617
2001-08-30 01:58:44 +00:00
George Rhoten
2278d96ad1 ICU-1018 Move iostream usage from unistr.[h,cpp] to ustream.[h,cpp]
X-SVN-Rev: 5089
2001-06-26 17:59:14 +00:00
George Rhoten
bb1950fcb3 ICU-900 Fixed some compiler warnings.
X-SVN-Rev: 4748
2001-05-22 16:39:51 +00:00
George Rhoten
a44d10ac4e ICU-900 Fixed some compiler warnings.
X-SVN-Rev: 4404
2001-03-29 22:10:51 +00:00
George Rhoten
3297549696 ICU-900 Fixed some compiler warnings.
X-SVN-Rev: 4377
2001-03-28 02:00:28 +00:00
George Rhoten
19dc7ff9aa ICU-865 Use endl for cout instead of "\n"
X-SVN-Rev: 4358
2001-03-27 22:54:02 +00:00
Ram Viswanadha
7f6d7e256f ICU-903 update copyright notices
X-SVN-Rev: 4235
2001-03-21 20:09:56 +00:00
Markus Scherer
87b88e71e7 ICU-827 test extract(char *, invariant) preflighting
X-SVN-Rev: 4169
2001-03-17 22:15:02 +00:00
George Rhoten
fa645b0cee ICU-882 Don't use the deprecated API.
X-SVN-Rev: 3930
2001-03-07 01:07:01 +00:00
Markus Scherer
757e0272f1 ICU-840 test case-insensitive string compare
X-SVN-Rev: 3623
2001-02-14 01:10:35 +00:00
Markus Scherer
e64c79dd40 ICU-542 more, meaner tests for UnicodeString::toLower()/toUpper()
X-SVN-Rev: 3542
2001-02-02 21:07:00 +00:00
Markus Scherer
fe4618b9ed ICU-542 more tests for UnicodeString::toLower()/toUpper()
X-SVN-Rev: 3540
2001-02-02 20:41:56 +00:00
Markus Scherer
e612fa8de8 ICU-750 test compareCodePointOrder()
X-SVN-Rev: 3472
2001-01-24 02:38:09 +00:00
George Rhoten
1b9224727e ICU-790 Added some headers that were in unistr.h
X-SVN-Rev: 3331
2001-01-02 19:01:49 +00:00
Yves Arrouye
8c8f9038b8 ICU-667 include the iostream that corresponds to the U_IOSTREAM_SOURCE, don't test operator<< if U_IOSTREAM_SOURCE is 0
X-SVN-Rev: 2677
2000-10-13 20:32:17 +00:00
George Rhoten
5be423fddd ICU-463 extract with a NULL destination works properly now.
X-SVN-Rev: 2411
2000-08-31 23:57:00 +00:00
George Rhoten
a15b66a53d ICU-535 fixed some compiler warnings
X-SVN-Rev: 2339
2000-08-23 19:11:16 +00:00
Markus Scherer
a92446d773 ICU-410 add error test for unescape()
X-SVN-Rev: 2302
2000-08-16 23:55:57 +00:00
Alan Liu
63880d0371 ICU-410 test unescape code
X-SVN-Rev: 2293
2000-08-16 20:25:29 +00:00
George Rhoten
2dbb8812ba ICU-535 fixed some compiler warnings
X-SVN-Rev: 2226
2000-08-14 21:42:36 +00:00
Madhu K
4b0286defe ICU-447 Additional tests for extended code coverage
X-SVN-Rev: 1662
2000-06-27 20:48:37 +00:00
Markus Scherer
5c5a7f21f1 ICU-176 test new UnicodeString UChar32 overloads
X-SVN-Rev: 1470
2000-05-24 20:59:53 +00:00
Helena Chapman
69ba12f77c ICU-351 Define UBool to be used in the APIs.
X-SVN-Rev: 1410
2000-05-18 22:08:39 +00:00
Madhu K
0c8f20989d ICU-176 Tests for new API for UTF-16 support
X-SVN-Rev: 1393
2000-05-18 18:53:11 +00:00
Markus Scherer
47ba9784e0 ICU-176 test constructors from UChar32 and from capacity
X-SVN-Rev: 1173
2000-04-19 21:58:21 +00:00
Markus Scherer
bba7ac1a00 ICU-176 UTF-16 changes for UnicodeString
X-SVN-Rev: 1052
2000-04-03 23:53:59 +00:00
Markus Scherer
eb3ba827c6 ICU-312 jitterbug 136: new UnicodeString memory allocation/aliasing implementation
X-SVN-Rev: 1012
2000-03-29 01:13:49 +00:00
Markus Scherer
9f363ccb70 ICU-315 S/390 and EBCDIC updates
X-SVN-Rev: 977
2000-03-22 23:17:42 +00:00
Helena Chapman
3aaa52af8d ICU-161 updated the copyright notices.
X-SVN-Rev: 596
2000-01-15 02:00:06 +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
54ba2e3819 ICU-170 use UnicodeString::length() instead of the deprecated size()
X-SVN-Rev: 339
1999-12-08 02:11:04 +00:00
Markus Scherer
5eaf91b840 ICU-170 fix TestStackAllocation()
X-SVN-Rev: 329
1999-12-07 03:20:58 +00:00
Markus Scherer
cc24f00159 ICU-170 fix TestReverse() (reverse takes start & length, not limit)
X-SVN-Rev: 328
1999-12-07 01:51:00 +00:00
Markus Scherer
4305bff030 ICU-170 more UnicodeString comparison tests
X-SVN-Rev: 326
1999-12-07 00:13:01 +00:00
Markus Scherer
b70728c7bd ICU-170 fix tests of lastIndexOf()
X-SVN-Rev: 283
1999-12-03 00:00:23 +00:00
Markus Scherer
a0e21925e7 ICU-68 several UnicodeString tests were not performed
X-SVN-Rev: 281
1999-12-02 21:41:20 +00:00
Unknown User
aa0b0a88e8 Initial revision
X-SVN-Rev: 2
1999-08-16 21:50:52 +00:00