[Mono-devel-list] ColorConverter tests and fixes

Andrew Skiba andrews at mainsoft.com
Mon Aug 8 09:02:45 EDT 2005


Hi.

Please review the attached patches. The tests are written from scratch,
so I made as Ben and Jordi suggested regarding ExpectedExceptions. In 2
places it revealed a difference in the exception thrown in dotnet and
mono. Also the new tests uncovered a few bugs in ColorConverter class.
One of them was not taking care of FormatException in GetNumber
function. The other is not really a bug, but incompatibility with
undocumented dotnet feature. It appears, that ConvertTo does not insert
into the result string the alpha when the alpha is 255.

If no one objects, I will commit.

Thank you.
Andrew.



More information about the Mono-devel-list mailing list