* CharConverterTest.cs: Added tests for ConvertFrom and ConvertTo.
authorGert Driesen <drieseng@users.sourceforge.net>
Sun, 17 Feb 2008 19:08:47 +0000 (19:08 -0000)
committerGert Driesen <drieseng@users.sourceforge.net>
Sun, 17 Feb 2008 19:08:47 +0000 (19:08 -0000)
commit21d318379c7e882e228f3a5e0046e01cbcea2b05
tree601f6199bcc7f247e35f5ac1806a662effb2ac7e
parent68597d9a4ab915eb55d857505dfce51e43d8a527
* 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
mcs/class/System/ChangeLog
mcs/class/System/System.ComponentModel/ChangeLog
mcs/class/System/System.ComponentModel/CharConverter.cs
mcs/class/System/System.ComponentModel/CultureInfoConverter.cs
mcs/class/System/System_test.dll.sources
mcs/class/System/Test/System.ComponentModel/ChangeLog
mcs/class/System/Test/System.ComponentModel/CharConverterTest.cs [new file with mode: 0644]
mcs/class/System/Test/System.ComponentModel/CultureInfoConverterTest.cs [new file with mode: 0644]