* ArrayListTest.cs, CollectionBaseTest.cs, DictionaryEntryTest.cs,
HashtableTest.cs: Convert all tests to new-style nunit methods.
* QueueTest.cs: likewise. Convertion revealed 25 test that were
disabled after the NUnit 2.4 update.
* StackTest.cs: likewise. Convertion revealed 24 test that were
disabled after the NUnit 2.4 update.
svn path=/trunk/mcs/; revision=136771
2008-05-08 Robert Jordan <[email protected]>
* DictionaryEntry.cs: Rename fields for serialization
compatibility with MS. Accept null keys on 2.0 profile.
Fixes#381922.
In Test/System.Collections:
2008-05-08 Robert Jordan <[email protected]>
* DictionaryEntryTest.cs: Add tests for key's argument validation.
svn path=/trunk/mcs/; revision=102831
1.0 profile. On 2.0 profile, do nothing in IDictionary.Remove if
the key is not present in the hashtable. On 2.0 profile, we also need
to add entry back to hashtable when an exception is thrown in
OnRemoveComplete.
* DictionaryBaseTest.cs: Improved existing tests, and use Assert class
instead of deriving from deprecated Assertion class. Code formatting.
svn path=/trunk/mcs/; revision=98844
2007-11-06 Jb Evain <[email protected]>
* Hashtable.cs: Don't compare user keys against the special removed
key. Fix#324761.
in Test/System.Collections:
2007-11-06 Jb Evain <[email protected]>
* HashtableTest.cs: Add test case for #324761.
svn path=/trunk/mcs/; revision=89004
reconstruct it if CurrentCulture changes.
* CaseInsensitiveHashCodeProviderTest.cs: Reworked test for Default
instance to pass on both Mono and MS. Added separate tests that
verify the specific Mono and MS behavior.
svn path=/trunk/mcs/; revision=81412
TextInfo if current culture is invariant. Remoted private ctor.
In Default, always construct new instance since the current culture
may change.
* CaseInsensitiveHashCodeProviderTest.cs: Improved test for
Default property to show the a new intance is constructed. Added test
for DefaultInvariant. Improved serialization tests. Added ctor test
for null CultureInfo. Code formatting.
* CultureInfoTest.cs: Fixed UseUserOverride tests to pass on systems
where invariant culture is default locale.
svn path=/trunk/mcs/; revision=81408
* ReadOnlyCollectionBase.cs (Count): Mark as virtual in
NET_2_0. Fixes#79033.
* ReadOnlyCollectionBaseTest.cs (TestZeroCountOnNew): Add test for
overriding Count in NET_2_0 for #79033.
svn path=/trunk/mcs/; revision=63516
* QueueTest.cs, SortedListTest.cs : many capacity-related tests are
written under improper assumption. As a result they don't pass when
we run make PROFILE=net_2_0 run-test-ondotnet, so got rid of them.
svn path=/trunk/mcs/; revision=59835
* ArrayListTest.cs: Added test cases for a binary search with an empty
list (bug #77030). Fixed other test cases so they execute without
failures under MS 2.0.
svn path=/trunk/mcs/; revision=54610
* SortedTestList.cs: Added more test for the constructor accepting an
IComparer and to avoid regression of bug #76750.
svn path=/trunk/mcs/; revision=54066
* CaseInsensitiveHashCodeProviderTest: Added test cases for the
default ctor, roudtripping serialization and deserializing data
generated on MS 1.1 and 2.0.
svn path=/trunk/mcs/; revision=54017
* ComparerTest.cs: Removed "NotWorking" from "Invariant" test case
(it's now working). Added new test cases for ISerializable (added in
SP1 and present in 2.0) and completed coverage with tests for ctor.
svn path=/trunk/mcs/; revision=53940
* SortedList.cs : Even though the key/value pair being set are
identical to the existing one, it causes snapshot out of sync.
Fixed bug #59694.
* SortedListTest.cs : testcase for #59694.
svn path=/trunk/mcs/; revision=49241
* ArrayListTest.cs: The patch below was not committed with the
same text as the patch on the bug. There was an s/1/3. Doing the
patch as specified on the bug makes buildbot work and the test
work on msft
svn path=/trunk/mcs/; revision=47452
2005-06-23 Ben Maurer <[email protected]>
* Queue.cs: Use the enumerator rather than copy to in the
ctor. This makes us more compat with msft, for example, when
passing a bit array
* Stack.cs: ditto
In Test/System.Collections:
2005-06-23 Ben Maurer <[email protected]>
* QueueTest.cs, StackTest.cs: Test for #75369.
svn path=/trunk/mcs/; revision=46461
* Stack.cs : empty_stack.CopyTo(empty_array, 0) should be allowed.
* StackTest.cs : test for CopyTo() on an empty stack.
svn path=/trunk/mcs/; revision=44253
* SortedListTest.cs: Added new test when initial capacity is set to 0
(so it never returns to default, 16, when Capacity is set to 0) unless
Clear is called. Cleaned up unused SetUp/TearDown.
svn path=/trunk/mcs/; revision=28622
* ArrayListTest.cs: Added new test for null in BinarySearch.
* HashtableTest.cs: Added null checking fro GetObjectData.
svn path=/trunk/mcs/; revision=28600
* QueueTest.cs: Test for synchronized clones.
* SortedListTest.cs: Added cases for synchronized capacity and testing
the interface from the internal enumerator.
svn path=/trunk/mcs/; revision=28302
* System.Collections/Hashtable.cs:
* Test/System.Collections/HashtableTest.cs: patch from Carlos A.
Barcenilla ([email protected]) that includes some fixes for
Hashtable + NUnit2 tests.
svn path=/trunk/mcs/; revision=18845