* 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
* 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
* 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
* 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