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