Commit Graph

79 Commits

Author SHA1 Message Date
Michael Ow
5c1ddc6006 ICU-6955 Add test case for illegal SI/SO source.
X-SVN-Rev: 26198
2009-06-29 19:50:35 +00:00
Michael Ow
23b175e17f ICU-6955 Add more test case for various mbcs situations.
X-SVN-Rev: 26195
2009-06-29 17:38:15 +00:00
Michael Ow
737d833448 ICU-6955 Fix potential error in mbcs and add more code coverage test cases.
X-SVN-Rev: 26194
2009-06-29 03:57:23 +00:00
Michael Ow
ad93f8cd75 ICU-6955 Update test converter and add test cases.
X-SVN-Rev: 26170
2009-06-25 16:01:31 +00:00
Michael Ow
4b5bf7300d ICU-6955 Fix TestConversion test in ICU4J to increment target only if there is an overflow. add more code coverage test case for MBCS.
X-SVN-Rev: 26161
2009-06-24 23:01:17 +00:00
Michael Ow
9e39b57bf1 ICU-6955 Update charset test for better code coverage for MBCS.
X-SVN-Rev: 26156
2009-06-24 18:54:36 +00:00
Michael Ow
771dda07f2 ICU-6955 Add new test code page and test cases.
X-SVN-Rev: 26148
2009-06-23 21:15:32 +00:00
Michael Ow
9dcb89e824 ICU-6955 Remove duplicate code in CharsetMBCS add test case for SCSU.
X-SVN-Rev: 26139
2009-06-22 19:37:57 +00:00
Michael Ow
905834ecca ICU-6955 Fix CharsetSCSU error and add test case.
X-SVN-Rev: 26137
2009-06-21 18:46:42 +00:00
Michael Ow
283c484852 ICU-6955 Update code coverage test for SCSU and BOCU.
X-SVN-Rev: 26136
2009-06-21 06:55:31 +00:00
Michael Ow
1be173845b ICU-6955 Improve code coverage for charset SCSU. Fix some errors in CharsetSCSU.
X-SVN-Rev: 26133
2009-06-19 19:20:55 +00:00
Michael Ow
685da47d1a ICU-6955 Fix BOCU-1 logical errors and add test case.
X-SVN-Rev: 26128
2009-06-17 22:11:57 +00:00
Michael Ow
c7db033e9f ICU-6955 Update BOCU-1 data driven conversion test.
X-SVN-Rev: 26105
2009-06-15 21:28:03 +00:00
Michael Ow
421a82ef41 ICU-6955 Add code coverage test case for BOCU-1 in data driven test.
X-SVN-Rev: 26104
2009-06-15 19:46:54 +00:00
Markus Scherer
5c3b41f836 ICU-6789 implement Java-compatible Unicode, UnicodeBig and UnicodeLittle converters
X-SVN-Rev: 25714
2009-04-01 19:31:33 +00:00
Markus Scherer
92488b771d ICU-5691 fix comments/order in conversion.txt
X-SVN-Rev: 24825
2008-10-16 00:32:27 +00:00
Markus Scherer
add67e15d5 ICU-5691 fix 2022 & HZ to really include the offending trail byte exactly if it is not a starter
X-SVN-Rev: 24824
2008-10-16 00:24:42 +00:00
Markus Scherer
c801506d5d ICU-5691 stop illegal HZ tilde sequences before the first byte that could start a new character
X-SVN-Rev: 24773
2008-10-10 16:30:28 +00:00
Markus Scherer
b6b3273af0 ICU-5691 stop illegal ISO-2022 escape/shift sequences before the first byte that could start a new character
X-SVN-Rev: 24769
2008-10-10 06:00:27 +00:00
Markus Scherer
acd74a93d1 ICU-5691 stop illegal sequences before the first byte that could start a new character; in MBCS, DBCS, ISO-2022, HZ; also make ISO-2022-KR strictly check for validity
X-SVN-Rev: 24733
2008-10-07 04:33:51 +00:00
Michael Ow
b3f5e6cf8a ICU-6347 Port LMBCS converter from ICU4C to ICU4J. Add data driven test for LMBCS. Add null pointer check in CharsetMBCS method. Update exemption list in TestSurrogateBehaviour.
X-SVN-Rev: 24410
2008-07-25 19:09:29 +00:00
Michael Ow
3cae30da4c ICU-5855 Change the data-driven charset test from iscii to iscii-dev to enable support for this test in ICU4J.
X-SVN-Rev: 24376
2008-07-11 17:10:18 +00:00
Michael Ow
0909ccea4d ICU-6365 Only write the language code after a linefeed if there are more characters after the linefeed. Update data driven test to check for this.
X-SVN-Rev: 24344
2008-07-03 15:27:12 +00:00
Michael Ow
211918b3cf ICU-6259 Implement Unicode Technical Note 30 concerning proper Gurmukhi conversion for Bindi and Tippi, Consonant Clusters, and Gurmukhi Rra. The change has been implemented in both ICU4C and ICU4J and data driven test have been included. Changing other test data for iscii-gur was also done to comply with this technical note.
X-SVN-Rev: 24326
2008-07-01 17:52:51 +00:00
Michael Ow
9ef387262f ICU-6358 Convert ISO-2022-JP 2 byte code point to GR94DBCS when decoding if neccessary. Add data driven test this fix.
X-SVN-Rev: 24245
2008-06-19 22:13:34 +00:00
Michael Ow
a66223e29f ICU-6266 Improve the code coverage for Charset ASCII and UTF-7.
X-SVN-Rev: 23884
2008-05-13 13:39:37 +00:00
Michael Ow
a20697ab70 ICU-6266 Improve ISO-2022 code coverage with error simulating data driven tests and over flow buffer tests.
X-SVN-Rev: 23883
2008-05-12 22:33:00 +00:00
Michael Ow
1597eb0479 ICU-6266 Add to data driven test to improve code coverage.
X-SVN-Rev: 23877
2008-05-08 21:33:49 +00:00
Peter Edberg
d4774599b6 ICU-6175 Test detecting empty segments in ISO-2022-x & HZ with UConverterCallbackReason==UCNV_IRREGULAR
X-SVN-Rev: 23572
2008-03-12 23:22:07 +00:00
Markus Scherer
2c15ef3b5c ICU-6071 test and fix BMP-SBCS 1:2 and 2:1 conversions
X-SVN-Rev: 23041
2007-12-07 05:34:26 +00:00
David Bertoni
233ddab1bc ICU-5891 Updates per code review. Also added new data-driven test case.
X-SVN-Rev: 22861
2007-10-26 20:57:56 +00:00
Markus Scherer
49868a5a68 ICU-6001 fix ucnv_getUnicodeSet(LMBCS)
X-SVN-Rev: 22850
2007-10-25 05:17:43 +00:00
Markus Scherer
b90b809ea1 ICU-6002 HZ: restrict byte values and fix various bugs
X-SVN-Rev: 22849
2007-10-25 05:03:34 +00:00
Markus Scherer
31b85e745d ICU-6001 UCNV_ROUNDTRIP_AND_FALLBACK_SET for ucnv_getUnicodeSet(); improve set filtering; fix some bugs
X-SVN-Rev: 22847
2007-10-24 21:15:41 +00:00
Markus Scherer
cc36611b2f ICU-5797 use Shift-JIS table for ISO 2022-JP, and hardcode JIS X 0201 mappings
X-SVN-Rev: 22772
2007-10-11 21:31:32 +00:00
Markus Scherer
a9d956e2d8 ICU-5483 fix ISO 2022 fromUnicode to consistently use roundtrip or else first fallback; fix output encoding schemes
X-SVN-Rev: 22484
2007-08-23 05:46:49 +00:00
George Rhoten
0d01a22429 ICU-5778 Add test for gb18030 enumeration.
X-SVN-Rev: 21945
2007-07-11 03:25:50 +00:00
George Rhoten
cfcf17df72 ICU-5410 Improve ICU4J code coverage for some EUC charsets
X-SVN-Rev: 21905
2007-07-03 21:39:22 +00:00
George Rhoten
cb0ad33fd6 ICU-5645 Add a test for incomplete surrogates when converting UTF-16->UTF-8
X-SVN-Rev: 21684
2007-06-10 03:26:49 +00:00
George Rhoten
e26c39039a ICU-5712 Compare against Windows Vista implementation, and update accordingly. This mainly covers Big5-HKSCS.
X-SVN-Rev: 21542
2007-05-15 22:10:19 +00:00
George Rhoten
5c3a43a348 ICU-5234 Revert a few of the previous changes to use more of the original names & update a few tables.
X-SVN-Rev: 21505
2007-05-10 06:40:31 +00:00
George Rhoten
a5d3c1ebfc ICU-5574 Test and fix a buffer overflow of the offset handling when a single surrogate character is given.
X-SVN-Rev: 21144
2007-03-01 12:41:15 +00:00
Markus Scherer
9acca77737 ICU-5518 merge direct-from-UTF-8 conversion code from http://source.icu-project.org/repos/icu/icu/branches/markus/ucnvutf8 -r 20735:20990 to icu/trunk
X-SVN-Rev: 21010
2007-02-06 05:24:14 +00:00
Ram Viswanadha
dba7618697 ICU-5275 move test to data file
X-SVN-Rev: 20436
2006-09-28 23:02:21 +00:00
Markus Scherer
58d426d1c9 ICU-5218 fix conversion bug for uncompressible supplementary code point in low-target-capacity case; see reply to bug
X-SVN-Rev: 19869
2006-07-21 17:20:18 +00:00
Markus Scherer
8e5f03bcd1 ICU-5188 add ucnv_setSubstString()
X-SVN-Rev: 19789
2006-07-05 23:08:50 +00:00
Markus Scherer
8f9047d4ac ICU-5171 fix iso-2022-cn min bytes per char: 1 not 2
X-SVN-Rev: 19735
2006-06-16 21:54:08 +00:00
George Rhoten
1768c70e6d ICU-5032 Improve code coverage
X-SVN-Rev: 19690
2006-06-06 22:00:05 +00:00
George Rhoten
b5f2352337 ICU-5032 Improve code coverage
X-SVN-Rev: 19689
2006-06-06 19:25:42 +00:00
Markus Scherer
e08d580655 ICU-4739 add "no fallback" flag to resource bundles
X-SVN-Rev: 18836
2005-11-29 00:10:07 +00:00