Commit Graph
15 Commits
Author SHA1 Message Date
Robert Jordan b2b4ea5f30 2009-06-26 Robert Jordan <[email protected]>
* BitVector32Test.cs, NameValueCollectionTest.cs:
	Upgrade to new NUnit style.


svn path=/trunk/mcs/; revision=136954
2009-06-26 12:49:57 +00:00
Scott Thomas 4a5ecae47f Fixed bug 417833 which allowed for the creation of illegal
BitVector32.Sections. Also added a unit test for the bug.


svn path=/trunk/mcs/; revision=111591
2008-08-26 01:51:50 +00:00
Juraj Skripsky cc663a9ef8 2008-01-07 Juraj Skripsky <[email protected]>
* NameObjectCollectionBase.cs: Add argument checking in CopyTo,
	replace use of enumerator by for-loop. Check IsReadOnly in BaseSet()
	only on the 2.0 profile.

2008-01-07  Gert Driesen  <[email protected]>

	* NameObjectCollectionBaseTest.cs: Add tests for argument checking in
	GetObjectData, Add, Clear, Remove, RemoveAt, Set and CopyTo. 


svn path=/trunk/mcs/; revision=92428
2008-01-08 06:50:05 +00:00
Ilya Kharmatsky 38978683b8 Proper exceptions throwing / handling under NET_2_0 target.
svn path=/trunk/mcs/; revision=76446
2007-04-29 09:08:22 +00:00
Sebastien Pouliot ced1d4c988 2005-11-30 Sebastien Pouliot <[email protected]>
* BitVector32Cas.cs: New. CAS unit tests.
	* BitVector32Test.cs: More test cases to increase coverage.
	* CollectionsUtilCas.cs: New. CAS unit tests.
	* HybridDictionaryCas.cs: New. CAS unit tests.
	* HybridDictionaryTest.cs: More test cases to increase coverage.
	* ListDictionaryCas.cs: New. CAS unit tests.
	* ListDictionaryTest.cs: More test cases to increase coverage.
	* NameObjectCollectionBaseCas.cs: New. CAS unit tests.
	* NameObjectCollectionBaseTest.cs: New. Unit tests.
	* NameValueCollectionCas.cs: New. CAS unit tests.
	* NameValueCollectionTest.cs: More test cases to increase coverage.
	* OrderedDictionaryCas.cs: New. CAS unit tests.
	* OrderedDictionaryTest.cs: New. Unit tests.
	* StringCollectionCas.cs: New. CAS unit tests.
	* StringCollectionTest.cs: More test cases to increase coverage.
	* StringDictionaryCas.cs: New. CAS unit tests.
	* StringDictionaryTest.cs: New. Unit tests.


svn path=/trunk/mcs/; revision=53679
2005-11-30 13:55:40 +00:00
Sebastien Pouliot 0bae4d8bb1 2004-06-14 Sebastien Pouliot <[email protected]>
* NameValueCollectionTest.cs: Added test for remove (case insensitive).

svn path=/trunk/mcs/; revision=29545
2004-06-14 20:09:06 +00:00
Sebastien Pouliot 4c43e39933 2004-06-14 Sebastien Pouliot <[email protected]>
* HybridDictionaryTest.cs: Added cases with an non-empty dictionary.
	* NameValueCollectionTest.cs: Added tests for CopyTo(Array,int).

svn path=/trunk/mcs/; revision=29533
2004-06-14 19:06:10 +00:00
Sebastien Pouliot d497ff12cd 2004-06-05 Sebastien Pouliot <[email protected]>
* HybridDictionaryTest.cs: Added cases with an empty diectionary.
	* NameValueCollectionTest.cs: Added tests to add and replace (set)
	existing values in collection. Added tests for CopyTo.

svn path=/trunk/mcs/; revision=28890
2004-06-05 23:47:06 +00:00
Nick Drochak 802cc402a9 2004-01-01 Nick Drochak <[email protected]>
* BitVector32Test.cs: Test some more values less than 1.

Happy New Year!

svn path=/trunk/mcs/; revision=21564
2003-12-31 14:55:26 +00:00
Duncan Mak e61457e5ba Integrate the patches contributed by Alon Gazit <[email protected]>.
* BitVector32.cs (CreateSection): Check that the new
calculated offset isn't more than 32 and not that the sum of the
new offset and the number of set bits is more than 32.
(this): Perform bitwise and with the complement of the mask
shifted version (~(section.Mask << section.Offset)) and not with
the shifted version of the mask's complement (~section.Mask <<
section.Offset).
(this): Currently doesn't return the correct value when the data
in the BitVector32 instance is negative.

* ListDictionary.cs (CopyTo): If the array is null, it should
throw ArgumentNullException. If the index is less than 0, it
should throw ArgumentOutOfRangeException.
(Remove): Throw ArgumentNullException when the parameter is null.

* BitVector32Test.cs (TestNegativeIndexer, TestSectionIndexer,
TestCreateSection): new tests from Alon Gazit <[email protected]>.

* ListDictionaryTest.cs (CopyTo1, CopyTo2, Remove): New file, with
tests from Alon Gazit <[email protected]>.

svn path=/trunk/mcs/; revision=17885
2003-09-04 19:16:30 +00:00
Nick Drochak e09ec3d431 2002-06-24 Nick Drochak <[email protected]>
* BasicOperationsTest.cs: Make test pass on .NET 1.1.

svn path=/trunk/mcs/; revision=15602
2003-06-24 05:06:48 +00:00
Nick Drochak c019f1eb0b 2002-03-29 Nick Drochak <[email protected]>
* BasicOperationsTest.cs: Moved into proper subdir
	* system_linux_test.args: Change path to above file

svn path=/trunk/mcs/; revision=12907
2003-03-29 14:45:42 +00:00
Miguel de Icaza 99ae181aae Flush
svn path=/trunk/mcs/; revision=5596
2002-07-04 20:48:42 +00:00
Lawrence Pit 21897fd452 WebHeaderCollection implemented
svn path=/trunk/mcs/; revision=4531
2002-05-11 15:30:44 +00:00
Lawrence Pit b04cb804fe Moved StringCollectionTest.cs and NameValueCollectionTest to this dir
svn path=/trunk/mcs/; revision=4445
2002-05-09 13:28:33 +00:00