Commit Graph
8 Commits
Author SHA1 Message Date
Alexander Köplinger 48e112d652 [Cleanup] Removed TARGET_JVM
It was once part of a special Java target profile, but this is no longer used today.
2014-08-08 03:28:34 +02:00
Gert Driesen 92c3a34c32 * PropertyDescriptorCollectionTests.cs: Allow tests for pass on MS.
* TypeDescriptorTests.cs: Added GetProperties and GetEvents asserts
for interfaces.

svn path=/trunk/mcs/; revision=107139
2008-07-03 09:31:06 +00:00
Atsushi Eno 293fb62d31 too silly to document.
svn path=/trunk/mcs/; revision=106777
2008-06-27 20:56:26 +00:00
Gert Driesen f1f33477a9 * EventDescriptorCollectionTests.cs: Enabled tests for Empty, Find and
IList. Added test for String indexer.
* PropertyDescriptorCollectionTests.cs: Improved test for Find and
merged CultureInsensitiveFindTest. Improved test for Find with null 
name/key. Added test for String indexer.
* EventDescriptorCollection.cs: Fixed Empty to return read-only
collection. In a read-only collection, throw NotSupportedException
instead of InvalidOperationException when attempting to modify the
collection. Fixed find to use ordinal comparison on 2.0 profile.
Fixed IList's IsFixedSize and IsReadOnly.
* PropertyDescriptorCollection.cs (Find): Use key as argument name
when name is null. Silly compatiblity fix.

svn path=/trunk/mcs/; revision=106736
2008-06-27 13:26:19 +00:00
Gert Driesen daaaa7b89c * System_test.dll.sources: Added EventDescriptorCollectionTest.cs.
* EventDescriptorCollectionTests.cs: Added tests based on tests for
PropertyDescriptorCollection.
* PropertyDescriptorCollectionTests.cs: Added tests for Sort overloads.
Improved test for Find with null key.
* EventDescriptorCollection.cs: Fixed NRE in Sort overloads when order
string array is null.
* PropertyDescriptorCollection.cs: Fixed NRE in Sort overloads when
order string array is null.

svn path=/trunk/mcs/; revision=106733
2008-06-27 11:59:22 +00:00
Vladimir Krasnov 697eb249dc * PropertyDescriptorCollection.cs: optimized Find method, removed culture sensitive string comparison
* PropertyDescriptorCollectionTests.cs: added test for Find method

svn path=/trunk/mcs/; revision=91873
2007-12-25 10:17:47 +00:00
Ilya Kharmatsky 061fb79067 Excluded tests which are not working in Grasshopper.
svn path=/trunk/mcs/; revision=72095
2007-02-01 15:01:09 +00:00
Gert Driesen 126eee6f86 * TypeConverterTests.cs: Added tests for TypeConverter.
* PropertyDescriptorCollection.cs: Added tests for PropertyDescriptorCollection.
* TypeDescriptor.cs: Remove usage of removed internal
PropertyDescriptorCollection ctor. Return read-only collection.
* PropertyDescriptorCollection.cs: Removed internal ctor taking
ArrayList. Add ctor for making read-only collection. Added
read-only checks. Implemented IsReadOnly and IsFixedSize. Empty now
returns read-only collection to match MS.NET.
* System_test.dll.sources: Added TypeConverterTest.cs and
PropertyDescriptorCollection.cs.

svn path=/trunk/mcs/; revision=50242
2005-09-19 16:52:34 +00:00