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