* UTF8Encoding.cs: IsMailNewsSave should return true. Fixes bug
[mono.git] / mcs / class / corlib / Test / System.Text / ChangeLog
1 2007-10-16  Gert Driesen  <drieseng@users.sourceforge.net>
2
3         * TestEncoding.cs: Also make class available on 1.0 profile.
4         * EncodingTest.cs: Added tests for Is* properties.
5         * UTF7EncodingTest.cs: Added tests for Is* properties.
6         * UnicodeEncodingTest.cs: Added tests for Is* properties. Fixed
7         line endings.
8         * UTF8EncodingTest.cs: Added tests for Is* properties. Spaces to
9         tabs. Numbered tests.
10         * ASCIIEncodingTest.cs: Added tests for Is* properties. No longer
11         derive from TestCase class. Spaces to tabs.
12         * UTF32EncodingTest.cs: Added tests for Is* properties. No longer
13         derive from deprecated Assertion class.
14
15 2007-07-06  Gert Driesen  <drieseng@users.sourceforge.net>
16
17         * DecoderReplacementFallbackTest.cs: Fixed DontChangeReadOnlyCodePage-
18         DecoderFallback test to pass on systems where codepage 932 is valid.
19         Assert that exception is thrown by DecoderFallback property.
20         * EncoderReplacementFallbackTest.cs: Fixed DontChangeReadOnlyCodePage-
21         EncoderFallback test to pass on systems where codepage 932 is valid.
22         Assert that exception is thrown by EncoderFallback property.
23
24 2007-04-19  Marek Habersack  <mhabersack@novell.com>
25
26         * DecoderReplacementFallbackTest.cs: expect the correct
27         exception.
28
29 2007-02-01  Gert Driesen  <drieseng@users.sourceforge.net>
30
31         * EncodingTest.cs: Enabled test again.
32
33 2007-02-01  Atsushi Enomoto  <atsushi@ximian.com>
34
35         * EncodingTest.cs :
36           reverted part of the related patch, thus added NotWorking.
37
38 2007-01-31  Gert Driesen  <drieseng@users.sourceforge.net>
39
40         * EncodingTest.cs: Improved test for not-supported encoding.
41
42 2007-01-31  Gert Driesen  <drieseng@users.sourceforge.net>
43
44         * EncodingTest.cs: Added tests for GetEncoding.
45
46 2006-07-18  Kornél Pál  <kornelpal@gmail.com>
47
48         * ASCIIEncodingTest.cs: Added TestGetString3 test.
49
50 2006-07-11  Kornél Pál  <kornelpal@gmail.com>
51
52         * StringBuilderTest.cs: Added SetLength test.
53
54 2006-06-24  Kornél Pál  <kornelpal@gmail.com>
55
56         * UnicodeEncodingTest.cs: Added ByteOrderMark tests.
57
58 2006-05-25  Atsushi Enomoto  <atsushi@ximian.com>
59
60         * EncodingInfoTest.cs : new TestFixture.
61
62 2006-04-13  Atsushi Enomoto  <atsushi@ximian.com>
63
64         * ASCIIEncodingTest.cs : added DecoderFallback().
65
66 2006-03-30  Atsushi Enomoto  <atsushi@ximian.com>
67
68         * EncoderTest.cs, DecoderTest.cs : new tests, for Convert().
69
70 2006-02-14  Atsushi Enomoto  <atsushi@ximian.com>
71
72         * UTF8EncodingTest.cs : test for bug #77550.
73
74 2006-02-03  Atsushi Enomoto  <atsushi@ximian.com>
75
76         * UTF8EncodingTest.cs : added test for insufficient bytes for
77           flush=true and leftOver!='\0' case.
78
79 2006-01-24  Atsushi Enomoto  <atsushi@ximian.com>
80
81         * UTF7EncodingTest.cs : added test for bug #77315.
82         * UTF8EncodingTest.cs : added test for bug #77315. Also, now a
83           bunch of tests are working (while they are marked as NotDotNet
84           under 1.1 profile).
85
86 2006-01-20  Raja R Harinath  <rharinath@novell.com>
87
88         * UnicodeEncodingTest.cs (TestMaxByteCount): Remove extra declaration.
89
90 2006-01-20  Atsushi Enomoto  <atsushi@ximian.com>
91
92         * UTF8EncodingTest.cs : added CloneNotReadOnly().
93
94 2006-01-19  Atsushi Enomoto  <atsushi@ximian.com>
95
96         * UnicodeEncodingTest.cs, DecoderReplacementFallbackBufferTest.cs,
97           EncoderReplacementFallbackBufferTest.cs : tests were fixed but
98           "NotWorking" were not marked correctly.
99
100 2006-01-19  Atsushi Enomoto  <atsushi@ximian.com>
101
102         * UTF7EncodingTest.cs UTF8EncodingTest.cs UnicodeEncodingTest.cs :
103           due to the introduction of fallback, some of their internals have
104           changed. Thus marked some tests as NotWorking.
105         * DecoderReplacementFallbackBufferTest.cs,
106           EncoderReplacementFallbackBufferTest.cs :
107           some behaviors have changed since beta2, so marked old tests as
108           NotWorking.
109
110 2005-12-05  Sebastien Pouliot  <sebastien@ximian.com>
111
112         * StringBuilderTest.cs: Test case MaxCapacity_Overflow3 doesn't work
113         under MS 1.1 SP1 (it should throw an ArgumentOutOfRangeException) but
114         it does work under Mono and MS 2.0 (final). Tagged as "NotWorking".
115
116 2005-11-22  Atsushi Enomoto  <atsushi@ximian.com>
117
118         * EncoderReplacementFallbackTest.cs :
119           Added Latin1 replacement test.
120           Updated some test results changed from beta2 to RTM.
121         * DecoderReplacementFallbackTest.cs : the same updates.
122
123 2005-11-16  Atsushi Enomoto  <atsushi@ximian.com>
124
125         * UTF8EncodingTest.cs : Simply replaced all ArgumentException with
126           switched alias (it is DecodefFallbackException in NET_2_0).
127
128 2005-11-15  Atsushi Enomoto  <atsushi@ximian.com>
129
130         * EncoderReplacementFallbackBufferTest.cs : new test (it's weird, but
131           mostly identical to DecoderReplacementFallbackBufferTest...)
132
133 2005-11-15  Atsushi Enomoto  <atsushi@ximian.com>
134
135         * DecoderReplacementFallbackBufferTest.cs : new test.
136
137 2005-11-15  Atsushi Enomoto  <atsushi@ximian.com>
138
139         * TestEncoding.cs,
140           DecoderReplacementFallbackTest.cs,
141           EncoderReplacementFallbackTest.cs : new 2.0 tests.
142
143 2005-08-25  Atsushi Enomoto  <atsushi@ximian.com>
144
145         * UTF8EncodingTest.cs : added GetCharsFEFF().
146
147 2005-06-21  Ben Maurer  <bmaurer@ximian.com>
148
149         * StringBuilderTest.cs: Test replacing with a longer string.
150
151 2005-05-06  Ben Maurer  <bmaurer@ximian.com>
152
153         * StringBuilderTest.cs (MaxCapacity_Overflow3): Test for #72244.
154
155 2005-01-21  Ben Maurer  <bmaurer@ximian.com>
156
157         * StringBuilderTest.cs (CapacityFromString): This relies on impl
158         specific behavior. Rewrite the test.
159
160 2005-01-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
161
162         * System.Text/StringBuilderTest.cs: new tests for capacity when the
163         StringBuilder is created from a string.
164
165 2005-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
166
167         * StringBuilderTest.cs: patch to test for capacity being exceeded.
168
169 2004-06-23  Sebastien Pouliot  <sebastien@ximian.com>
170
171         * UTF7EncodingTest.cs: Added 3 more test cases from RFC1642 to decode
172         and re-encode UTF7 from/to unicode.
173
174 2004-06-07  Atsushi Enomoto  <atsushi@ximian.com>
175
176         * UTF8EncodingTest.cs : Added TestThrowOnInvalid().
177
178 2004-05-26  Sebastien Pouliot  <sebastien@ximian.com>
179
180         * StringBuilderTest.cs: Added unit tests to be sure integer overflows
181         are catched.
182
183 2004-05-20  Sebastien Pouliot  <sebastien@ximian.com>
184
185         * UTF7EncodingTest.cs, UnicodeEncodingTest.cs: Removed unused SetUp 
186         and TearDown to facilitate searches.
187
188 2004-05-14  Sebastien Pouliot  <sebastien@ximian.com>
189
190         * UTF8EncodingTest.cs: Test both characters in test 2.1.4.
191
192 2004-04-14  Sebastien Pouliot  <sebastien@ximian.com>
193
194         * UTF8EncodingTest.cs: Ajusted test 3.3.6 and 3.3.7 because MS accept
195         invalid UTF8 (when it shouldn't) and Mono doesn't. Both case are now
196         accepted by the unit tests.
197
198 2004-04-14  Sebastien Pouliot  <sebastien@ximian.com>
199
200         * UTF8EncodingTest.cs: Added 70 new unit tests from UTF-8-test.txt
201         (available from http://www.cl.cam.ac.uk/~mgk25/). Tests are adapted
202         so MS implementation pass them all.
203
204 2004-03-19  Dick Porter  <dick@ximian.com>
205
206         * UnicodeEncodingTest.cs: Test for character counts on subranges
207         of arrays with a BOM at the start of the array.
208
209 2004-03-10  Juraj Skripsky <juraj@hotfeet.ch>
210
211         * StringBuilderTest.cs: added new test for bug in Insert.
212
213 2004-01-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
214
215         * StringBuilderTest.cs: added test for bug #53240.
216
217 2004-01-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
218
219         * StringBuilderTest.cs: added tests for the couple of bugs found in the
220         new StringBuilder implementation.
221
222 2003-05-14  Nick Drochak  <ndrochak@gol.com>
223
224         * UTF7EncodingTest.cs: 
225         * UTF8EncodingTest.cs: added from Patrick Kalkman <kalkman@cistron.nl>
226
227 2003-05-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
228
229         * StringBuilderTest.cs: added replace tests from bug #41397 by
230         <tom@acquist.com>>.
231
232 2003-03-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
233
234         * ASCIIEncodingTest.cs: added a couple of asserts fot zero-length
235         arrays.
236
237 2003-02-05  Nick Drochak  <ndrochak@gol.com>
238
239         * StringBuilderTest.cs: Test for specific exception using Nunit verson
240         2 style Attribute.
241
242 2003-01-30  Zoltan Varga  <vargaz@freemail.hu>
243
244         * StringBuilderTest.cs: added test for passing a negative capacity to
245         the constructor.
246
247 2002-12-21  Nick Drochak <ndrochak@gol.com>
248
249         * all: make tests build and run under nunit2
250
251 2002-12-12 Jackson Harper <jackson@latitudegeo.com>
252
253         * AllTests.cs: Comment out UTF8... test (it does not exist)
254
255 2002-03-17  Mike Kestner  <mkestner@speakeasy.net>
256
257         * ASCIIEncodingTest.cs : New suite for ASCIIEncoding.
258         * AllTests.cs : Add the new suite.
259
260 2002-02-10  Nick Drochak  <ndrochak@gol.com>
261
262         * AllTests.cs: Remove StringBuilderTest suite.  There's a major failure
263         when it's included and the test errors aren't displayed. 
264
265 2002-02-09  Nick Drochak  <ndrochak@gol.com>
266
267         * StringBuilderTest.cs: Fixed tests that were failing against mscorlib.