[corlib] Improve CancellationTokenSource test
[mono.git] / mcs / class / corlib / Test / System.Collections / ChangeLog
1 2009-07-14 Gonzalo Paniagua Javier <gonzalo@novell.com>
2
3         * SortedListTest.cs: new tests by Kevin Fitzgerald.
4
5 2009-06-30  Zoltan Varga  <vargaz@gmail.com>
6
7         * ReadOnlyCollectionBaseTest.cs NewArrayListTest.cs: Convert all tests
8         to new-style nunit classes/methods.     
9
10 2009-06-26  Robert Jordan  <robertj@gmx.net>
11
12         * BitArrayTest.cs: Upgrade to new NUnit style. Enable
13         16 tests that were disabled after the NUnit 2.4 update.
14
15 2009-06-24  Robert Jordan  <robertj@gmx.net>
16
17         * ArrayListTest.cs, CollectionBaseTest.cs, DictionaryEntryTest.cs,
18         HashtableTest.cs: Convert all tests to new-style nunit methods.
19
20         * QueueTest.cs: likewise. Conversion revealed 25 test that were
21         disabled after the NUnit 2.4 update.
22
23         * StackTest.cs: likewise. Conversion revealed 24 test that were
24         disabled after the NUnit 2.4 update.
25
26 2008-08-31  Zoltan Varga  <vargaz@gmail.com>
27
28         * BitArrayTest.cs: Add a test for #421803.
29
30 2008-05-08  Robert Jordan  <robertj@gmx.net>
31
32         * DictionaryEntryTest.cs: Add tests for key's argument validation.
33
34 2008-03-24  Gert Driesen  <drieseng@users.sourceforge.net>
35
36         * DictionaryBaseTest.cs: Improved existing tests, and use Assert class
37         instead of deriving from deprecated Assertion class. Code formatting.
38
39 2008-03-21  Sebastien Pouliot  <sebastien@ximian.com>
40
41         * DictionaryBaseTest.cs: Add test case to see when and how OnGet 
42         is being called.
43
44 2007-11-06  Jb Evain  <jbevain@novell.com>
45
46         * HashtableTest.cs: Add test case for #324761.
47
48 2007-11-05  Sebastien Pouliot  <sebastien@ximian.com>
49
50         * QueueTest.cs: Test cases for #321657. Based on the test case 
51         supplied by Benjamin Lutz.
52
53 2007-10-27  Gert Driesen  <drieseng@users.sourceforge.net>
54
55         * SortedListTest.cs: Fixed deserialization test to pass on MS.
56
57 2007-10-23  Gert Driesen  <drieseng@users.sourceforge.net>
58
59         * SortedListTest.cs: No longer derive from deprecated Assertion class.
60         Added serialization tests, and a (NotWorking) deserialization test.
61
62 2007-07-05  Gert Driesen  <drieseng@users.sourceforge.net>
63
64         * CaseInsensitiveHashCodeProviderTest.cs: Reworked test for Default
65         instance to pass on both Mono and MS. Added separate tests that
66         verify the specific Mono and MS behavior.
67
68 2007-07-05  Gert Driesen  <drieseng@users.sourceforge.net>
69
70         * CaseInsensitiveHashCodeProviderTest.cs: Improved test for
71         Default property to show the a new intance is constructed. Added test
72         for DefaultInvariant. Improved serialization tests. Added ctor test
73         for null CultureInfo. Code formatting.
74
75 2007-04-19  Gert Driesen  <drieseng@users.sourceforge.net>
76
77         * ArrayListTest.cs: Code formatting (indenting, spaces to tabs). Added
78         tests for bugs fixed in .NET 2.0.
79
80 2007-02-13  Boris Kirzner <borisk@mainsoft.com>
81         * CaseInsensitiveHashCodeProviderTest.cs, HashtableTest.cs:
82         test ifdefs for TARGET_JVM.
83
84 2006-11-28  Gert Driesen  <drieseng@users.sourceforge.net>
85
86         * CaseInsensitiveComparerTest.cs: Added tests for bug #80082 and bug
87         #80076. Improved existing tests.
88
89 2006-08-08  Duncan Mak  <duncan@novell.com>
90
91         * ReadOnlyCollectionBaseTest.cs (TestZeroCountOnNew): Add test for
92         overriding Count in NET_2_0 for #79033.
93
94 2006-04-25  Atsushi Enomoto  <atsushi@ximian.com>
95
96         * QueueTest.cs, SortedListTest.cs : many capacity-related tests are
97           written under improper assumption. As a result they don't pass when
98           we run make PROFILE=net_2_0 run-test-ondotnet, so got rid of them.
99
100 2006-01-04  Sebastien Pouliot  <sebastien@ximian.com>
101
102         * HashtableTest.cs: Added test case to check if all subclasses are 
103         serializable.
104
105 2005-12-19  Sebastien Pouliot  <sebastien@ximian.com>
106
107         * ArrayListTest.cs: Added test cases for a binary search with an empty
108         list (bug #77030). Fixed other test cases so they execute without 
109         failures under MS 2.0.
110
111 2005-12-07  Sebastien Pouliot  <sebastien@ximian.com>
112
113         * SortedTestList.cs: Added more test for the constructor accepting an
114         IComparer and to avoid regression of bug #76750.
115
116 2005-12-06  Sebastien Pouliot  <sebastien@ximian.com>
117
118         * CaseInsensitiveHashCodeProviderTest: Added test cases for the 
119         default ctor, roudtripping serialization and deserializing data
120         generated on MS 1.1 and 2.0.
121
122 2005-12-05  Sebastien Pouliot  <sebastien@ximian.com>
123
124         * ComparerTest.cs: Removed "NotWorking" from "Invariant" test case 
125         (it's now working). Added new test cases for ISerializable (added in
126         SP1 and present in 2.0) and completed coverage with tests for ctor.
127
128 2005-09-01  Atsushi Enomoto  <atsushi@ximian.com>
129
130         * HashtableTest.cs : testcase for #75790.
131
132 2005-09-01  Atsushi Enomoto  <atsushi@ximian.com>
133
134         * SortedListTest.cs : testcase for #59694.
135
136 2005-07-19  Ben Maurer  <bmaurer@ximian.com>
137
138         * ArrayListTest.cs: The patch below was not committed with the
139         same text as the patch on the bug. There was an s/1/3. Doing the
140         patch as specified on the bug makes buildbot work and the test
141         work on msft
142
143 2005-07-17  Florian Gross  <flgr@ccan.de>
144
145         * ArrayListTest.cs: Test for #75545.
146
147 2005-06-23  Ben Maurer  <bmaurer@ximian.com>
148
149         * QueueTest.cs, StackTest.cs: Test for #75369.
150
151 2005-05-26  Ben Maurer  <bmaurer@ximian.com>
152
153         * QueueTest.cs: New test.
154
155 2005-05-09  Atsushi Enomoto  <atsushi@ximian.com>
156
157         * StackTest.cs : test for CopyTo() on an empty stack.
158
159 2005-01-05  Nick Drochak  <ndrochak@ieee.org>
160
161         * ComparerTest.cs: Modernize and fix line endings. Test is failing with
162         mono, see if this change has any effect.
163
164 2004-12-16  Lluis Sanchez Gual  <lluis@novell.com>
165
166         * HashtableTest.cs: Added test for bug #70570.
167
168 2004-08-24 Nick Drochak <ndrochak@ieee.org>
169
170         
171
172         * ComparerTest.cs: On MS.NET 1.1 Compare("a", "A") returns < 0.
173         
174
175
176 2004-07-28  Dick Porter  <dick@ximian.com>
177
178         * ComparerTest.cs: Test for invariant compares (bug 61458.)
179
180 2004-06-14  Sebastien Pouliot  <sebastien@ximian.com>
181
182         * HashtableTest.cs: Added new case to CopyTo(Array,int) an empty 
183         hashtable.
184         * SortedListTest.cs: Un-ignored TestCapacity4 test case as it now 
185         works correctly under Mono.
186
187 2004-06-01  Sebastien Pouliot  <sebastien@ximian.com>
188
189         * SortedListTest.cs: Added new test when initial capacity is set to 0
190         (so it never returns to default, 16, when Capacity is set to 0) unless
191         Clear is called. Cleaned up unused SetUp/TearDown.
192
193 2004-05-31  Sebastien Pouliot  <sebastien@ximian.com>
194
195         * ArrayListTest.cs: Added new test for null in BinarySearch.
196         * HashtableTest.cs: Added null checking fro GetObjectData.
197
198 2004-05-27  Sebastien Pouliot  <sebastien@ximian.com>
199
200         * HashtableTest.cs: Added case where a cloned hashtable must also be
201         synchronized (if the original was).
202         * QueueTest.cs: Added case where we try to get Current after the last
203         MoveNext. Added case to ensure that MoveNext always return false 
204         (after the first time). Test for synchronized clones.
205         * SortedListTest.cs: Added cases for synchronized capacity and testing
206         the interface from the internal enumerator. Test that setting Capacity
207         to zero return the capacity to it's initial default (16).
208
209 2004-05-26  Sebastien Pouliot  <sebastien@ximian.com>
210
211         * ArrayListTest.cs: Added tests for integer overflows.
212
213 2003-12-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
214
215         * QueueTest.cs: added more tests. Patch from Carlos Barcenilla.
216
217 2003-11-10  Zoltan Varga  <vargaz@freemail.hu>
218
219         * StackTest.cs: Applied patch from Carlos A. Barcenilla to fix minor
220         bugs (#50755).
221
222 2003-10-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
223
224         * HashtableTest.cs: patch from Carlos A.  Barcenilla
225         (barce@frlp.utn.edu.ar) that includes some fixes for Hashtable +
226         NUnit2 tests.
227
228 2003-10-07 Nick Drochak <ndrochak@gol.com>
229
230         * DictionaryBaseTest.cs:
231         * NewArrayListTest.cs: Clean up warnings that were annoying me.
232
233 2003-08-12  Nick Drochak <ndrochak@gol.com>
234
235         * NewArrayListTest.cs: Disable part that was failing on .NET. Marked
236         with FIXME.
237
238 2003-08-11  Duncan Mak  <duncan@ximian.com>
239
240         * ArrayListTest.cs: Added test case submitted by Tum in bug #45036.
241
242         * DictionaryBaseTest.cs: added new test provided by Carlos Barcenilla
243         (barce@frlp.utn.edu.ar).
244
245 2003-08-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
246
247         * CollectionBaseTest.cs: added new test provided by Carlos Barcenilla
248         (barce@frlp.utn.edu.ar).
249
250 2003-08-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
251
252         * CollectionBaseTest.cs: added a few more tests. Now derives from
253         Assertion.
254
255 2003-06-20  Nick Drochak  <ndrochak@gol.com>
256
257         * SortedListTest.cs: Make it pass on .NET 1.1.
258
259 2003-06-14  Duncan Mak  <duncan@ximian.com>
260
261         * SortedListTest.cs
262         (TestIndexer):
263         (TestEnumerator): Incorporated these two tests from Philippe
264         Lavoie <philippe.lavoie@cactus.ca>.
265
266 2003-06-12  Duncan Mak  <duncan@ximian.com>
267
268         * HashtableTest.cs: Converted it to the new style of NUnit tests.
269
270         (TestCtor3): 
271         (TestCtor4): new tests for the constructor.
272
273 2003-06-11  Duncan Mak  <duncan@ximian.com>
274
275         * SortedListTest.cs: Convert it to the new style of NUnit tests.
276
277         (TestCapacity2):
278         (TestCapacity3):
279         (TestCapacity4): new tests for the Capacity property.
280
281         (TestIndexOfValue2):
282         (TestIndexOfValue3): new tests for the IndexOfValue method.
283         
284 2003-06-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
285
286         * HashtableTest.cs: removed duplicate tests and unneeded inner class.
287
288 2003-06-07  Ben Maurer <bmaurer@users.sourceforge.net>
289         * StackTest.cs: Added test for Contains (null)
290
291 2003-05-13 Nick Drochak <ndrochak@gol.com>
292
293         * DictionaryEntry.cs: Added test
294
295 2003-05-03 Ben Maurer <bmaurer@users.sourceforge.net>
296         
297         * ArrayListTest.cs:
298                 Tests for the above* ArrayList.cs
299                 Added methods to support IList wrappers
300
301 2003-04-15  Eduardo Garcia Cebollero <kiwnix@yahoo.es>
302
303         * CaseInsensitiveComparerTest.cs: Added Some Tests.
304
305 2003-04-09  Ville Palo <vi64pa@kolumbus.fi>
306
307         * ArraListTest.cs: Added little test for Sort ().
308         
309 2003-02-15  Nick Drochak  <ndrochak@gol.com>
310
311         * CollectionBaseTest.cs: Make it a better NUnit v2 example
312
313 2003-02-15  Pedro Martínez Juliá  <yoros@wanadoo.es>
314
315         * HashtableTest.cs: Add serialization test.
316
317 2002-12-21  Nick Drochak <ndrochak@gol.com>
318
319         * all: make tests build and run under nunit2
320
321 2002-10-16  Nick Drochak  <ndrochak@gol.com>
322
323         * QueueTest.cs: Add test from tetsuo via Vladimir Vukicevic 
324         (vladimir@pobox.com).
325
326 2002-10-09  Nick Drochak  <ndrochak@gol.com>
327
328         * SortedListTest.cs: Re-enable test for IsSyncronized
329
330 2002-09-24  Nick Drochak  <ndrochak@gol.com>
331
332         * ArrayListTest.cs: Add test for InsertRange() for the case where an
333         ArrayList is passed to itself to be insterted.
334
335 2002-09-24  Nick Drochak  <ndrochak@gol.com>
336
337         * ArrayListTest.cs: Add check that enumerator is invalidated after a
338         method that changes the list, such as Add(), Remove(), etc.
339
340 2002-07-02  Nick Drochak  <ndrochak@gol.com>
341
342         * SortedListTest.cs: Fix some expected/actual value parameters for
343         AssertEquals().
344
345 2002-06-30  Nick Drochak  <ndrochak@gol.com>
346
347         * SortedListTest.cs: Fix some expected/actual value parameters in the
348         Assert()'s. Disable a part of test until the class is finished.
349
350 2002-06-25  Nick Drochak  <ndrochak@gol.com>
351
352         * QueueTest.cs: Trap some unexpected exceptions and add a bit of
353         verbosity to some assert messages.
354
355 2002-06-20  Nick Drochak  <ndrochak@gol.com>
356
357         * SortedListTest.cs: Make tests pass against ms.net.
358         * QueueTest.cs: Make tests pass against ms.net.
359
360 2002-06-19  Nick Drochak  <ndrochak@gol.com>
361
362         * AllTests.cs: Sort names and include missing tests.
363         * SortedListTest.cs: Change Console.WriteLine() into Fail().
364
365 2002-05-27  Nick Drochak  <ndrochak@gol.com>
366
367         * ArrayListTest.cs (TestLastIndexOf): Add try-catch block to report
368         where we are throwing.
369
370 2002-05-21  Lawrence Pit  <loz@cable.a2000.nl>
371
372         * ArrayListTest.cs: Added several tests to test for 0 capacity
373
374 2002-05-05  Nick Drochak  <ndrochak@gol.com>
375
376         * ArrayListTest.cs: Test for RankException when constructing from a 
377         multi-dimensional array. Confirmed behavior from MS.NET
378
379 2002-05-01  Nick Drochak  <ndrochak@gol.com>
380
381         * ArrayListTest.cs (TestBinarySearch) : accomodate possible bug in
382         .NET runtime.
383
384 2002/05/01  Nick Drochak <ndrochak@gol.com>
385
386         * ArrayListTest.cs (TestCopyTo) : Make assert messages unique and
387         avoid possible MS.NET bug when test is run on .NET.
388
389 2002/04/30  Nick Drochak <ndrochak@gol.com>
390
391         * ArrayListTest.cs (TestInsertRange) : Make assert messages unique.
392
393 2002-04-30  Nick Drochak  <ndrochak@gol.com>
394
395         * ArrayListTest.cs (TestTrimToSize): Change test so that it doesn't
396         rely on the specific timing of a capacity change.  Our corlib doubles
397         capacity sooner than the reference system does.
398
399 2002-04-30  Nick Drochak  <ndrochak@gol.com>
400
401         * ArrayListTest.cs: Catch unexpected exception typs and report as
402         failures.
403
404 2002-04-29  Nick Drochak  <ndrochak@gol.com>
405
406         * ArrayListTest.cs (TestBinarySearch): Catch the correct exception here.
407
408 2002-04-29  Nick Drochak  <ndrochak@gol.com>
409
410         * ArrayListTest.cs (): Remove test on unsorted array.  Behavior is 
411         undefined according to docs. Re-added test that was commented out.
412
413 2002-03-24  Duncan Mak  <duncan@ximian.com>
414
415         * SortedListTest.cs: Committed to CVS for Jaak Simm <jaaksimm@firm.ee>.
416
417 2002-02-28  Nick Drochak  <ndrochak@gol.com>
418
419         * HashtableTest.cs: make the second test class public.  The was showing
420         as an error whe run against the mscorlib.  Might be because of the
421         new NUnit that was just checked in.
422
423 2002-02-20  Nick Drochak  <ndrochak@gol.com>
424
425         * ArrayListTest.cs: Add a small assert for a bug that I found and fixed
426         in ArrayList.  Make sure it doesn't come up again.
427
428 2002-02-10  Nick Drochak  <ndrochak@gol.com>
429
430         * QueueTest.cs: Put in correct namespace.
431
432 2002-02-09  Nick Drochak  <ndrochak@gol.com>
433
434         * StackTest.cs: Removed test for IsReadonly.  Doesn't exist in .NET 1.0
435
436 2002-01-20  Nick Drochak  <ndrochak@gol.com>
437
438         * BitArrayTest.cs: wrapped try-catch blocks around several of the tests. 
439         NUnit doesn't properly catch exception here anymore.  Must be something
440         to do with upgrading to .NET.1.0.