3 Commits
Author SHA1 Message Date
Miguel de Icaza c6ab899595 [System] Fix most warnings on the System test suite 2014-09-24 10:43:46 -04:00
Gert Driesen 15d9f261e9 * CharConverter.cs: Use trimmed value in FormatException.
* CharConverterTest.cs: Fixed test to pass on MS.
* PropertyDescriptorTest.cs: Added test for Attributes.

svn path=/trunk/mcs/; revision=96683
2008-02-26 19:27:46 +00:00
Gert Driesen 21d318379c * CharConverterTest.cs: Added tests for ConvertFrom and ConvertTo.
* CultureInfoConverterTest.cs: Added tests for ConvertFrom and
ConvertTo.
* CharConverter.cs (ConvertFrom): Avoid NRE when value is null.
Provide more info when left of value > 1.
* CultureInfoConverter.cs (ConvertFrom): Avoid NRE when value is null.
On 2.0 profile, use case-sensitive comparison for (Default) value.
Use case-insensitive comparing when value is considered as displayname.
Provide more info in exception message.
(ConvertTo): Use '(Default)' instead of '(default)' for invariant
culture.
* System_test.dll.sources: Added CharConverterTest.cs and
CultureInfoConverterTest.cs.

svn path=/trunk/mcs/; revision=95995
2008-02-17 19:08:47 +00:00