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