Steven Robbins
7fcbd002a8
Added test for In32 IsValid
2013-02-12 14:59:50 +00:00
Atsushi Eno
41edb8afe0
2010-01-25 Atsushi Enomoto <[email protected] >
...
some number ConvertTo() compatibility fixes (that are reported as
!CanConvertTo()), patch by Alexandre Gomes.
svn path=/trunk/mcs/; revision=150100
2010-01-25 03:38:42 +00:00
Gert Driesen
f2289de628
* ByteConverterTests.cs: Added ConvertToString and ConvertFromString
...
tests with culture that has overriden GetFormat for NumberFormatInfo.
* DecimalConverterTests.cs: same.
* DoubleConverterTests.cs: same.
* Int16ConverterTests.cs: same.
* Int32ConverterTests.cs: same.
* Int64ConverterTests.cs: same.
* SByteConverterTests.cs: same.
* SingleConverterTests.cs: same.
* UInt16ConverterTests.cs: same.
* UInt32ConverterTests.cs: same.
* UInt64ConverterTests.cs: same.
* BaseNumberConverter.cs: Use CultureInfo.GetFormat to obtain
NumberFormatInfo to match MS.NET. Added ConvertToString abstract
method for conversion to string.
* ByteConverter.cs: Implemented ConvertToString.
* DecimalConverter.cs: Implemented ConvertToString.
* DoubleConverter.cs: Implemented ConvertToString.
* Int16Converter.cs: Implemented ConvertToString.
* Int32Converter.cs: Implemented ConvertToString.
* Int64Converter.cs: Implemented ConvertToString.
* SByteConverter.cs: Implemented ConvertToString.
* SingleConverter.cs: Implemented ConvertToString.
* UInt16Converter.cs: Implemented ConvertToString.
* UInt32Converter.cs: Implemented ConvertToString.
* UInt64Converter.cs: Implemented ConvertToString.
svn path=/trunk/mcs/; revision=48904
2005-08-26 20:08:40 +00:00
Gert Driesen
113f0ec149
* ToolboxItemAttributeTests.cs: Fixed typo in eol-style property.
...
* ByteConverterTests.cs: Added tests for hex string and min/max
conversions.
* Int16ConverterTests.cs: Added tests for hex string and min/max
conversions.
* Int32ConverterTests.cs: Added tests for hex string and min/max
conversions.
* DecimalConverterTests.cs: Added tests for DecimalConverter.
* DoubleConverterTests.cs: Added tests for DoubleConverter.
* Int64ConverterTests.cs: Added tests for Int64Converter.
* SByteConverterTests.cs: Added tests for SByteConverter.
* SingleConverterTests.cs: Added tests for SingleConverter.
* UInt16ConverterTests.cs: Added tests for UInt16Converter.
* UInt32ConverterTests.cs: Added tests for UInt32Converter.
* UInt64ConverterTests.cs: Added tests for UInt64Converter.
svn path=/trunk/mcs/; revision=48549
2005-08-19 11:41:09 +00:00
Gert Driesen
228d54377e
* ByteConverterTests.cs: Added tests for ByteConverter.
...
* Int16ConverterTests.cs: Added tests for Int16Converter.
* Int32ConverterTests.cs: Added tests for Int32Converter.
* BaseNumberConverter.cs: In ConvertFrom, wrap all exceptions that
are thrown while converting from string in an Exception.
* System_test.dll.sources: Added ByteConverterTests.cs,
Int16ConverterTests.cs and Int32ConverterTests.cs.
* Makefile: We also need to reference System.Drawing assembly to
build test assembly.
svn path=/trunk/mcs/; revision=48428
2005-08-16 13:12:48 +00:00