Commit Graph
7 Commits
Author SHA1 Message Date
Gonzalo Paniagua Javier 4260619e7b 2010-02-13 Gonzalo Paniagua Javier <[email protected]>
* Test/System.Collections.Generic/HashSetTest.cs:
	* System.Collections.Generic/HashSet.cs: fix and test for bug #579791.
	Patch from Tiaan Geldenhuys.


svn path=/trunk/mcs/; revision=151705
2010-02-13 17:48:34 +00:00
Zoltan Varga 36dcaf4d3f 2009-08-30 Zoltan Varga <[email protected]>
* HashSetTest.cs: Fix warnings.

svn path=/trunk/mcs/; revision=140934
2009-08-30 00:03:10 +00:00
Raja R Harinath 16b5f90d63 Fix HashSet<>-related parts of #491858, #517415
* System.Collections.Generic/HashSet.cs (Enumerator.next): Rename from
Enumerator.current and change meaning to be the index of the slot to start
searching on the next iteration.
(Enumerator.current): New.  Contains the current element.
(Enumerator.MoveNext): Update.  Avoid an out-of-bounds access.
(Enumerator.Current): Don't check any invariants.
* Test/System.Collections.Generic/HashSetTest.cs (Enumerate_Current):
New test, including cases from #491858, #517415.

svn path=/trunk/mcs/; revision=139105
2009-07-30 17:49:41 +00:00
Jb Evain 98e665927e 2009-07-09 Jb Evain <[email protected]>
* HashSetTest.cs: add test for #520760, ICollection<T>.Add
	should not throw on duplicates.


svn path=/trunk/mcs/; revision=137652
2009-07-09 19:11:23 +00:00
Jb Evain a0f6f1823c 2008-12-17 Jb Evain <[email protected]>
* HashSetTest.cs: add test for CopyTo.


svn path=/trunk/mcs/; revision=121701
2008-12-17 16:14:55 +00:00
Roei Erez 8aa568dd5b temporary exclude HashSet.CopyTo test in JAVAEE environment.
svn path=/trunk/mcs/; revision=103270
2008-05-15 12:54:55 +00:00
Jb Evain d4796fc918 tests for HashSet
svn path=/trunk/mcs/; revision=90407
2007-11-28 20:56:02 +00:00