Commit Graph
26 Commits
Author SHA1 Message Date
Atsushi Eno a4075531b5 2008-06-11 Atsushi Enomoto <[email protected]>
* XmlConvert.cs : fixed bug #397934. Utc mode accepts more formats.

	* XmlConvertTests.cs : added test for bug #397934


svn path=/trunk/mcs/; revision=105562
2008-06-11 11:27:45 +00:00
Atsushi Eno 20aff136fb 2008-06-11 Atsushi Enomoto <[email protected]>
* XmlConvert.cs : no need for TARGET_JVM.

	* XmlConvertTests.cs : no need for TARGET_JVM. Fix wrong comparison.


svn path=/trunk/mcs/; revision=105558
2008-06-11 10:57:03 +00:00
Atsushi Eno 3ef5ecc28d 2008-06-05 Atsushi Enomoto <[email protected]>
* XmlConvert.cs : now we can use roundtrip format for float/double.
	  Fixed bug #320424.

	* XmlConvertTests.cs : added test for bug #320424.


svn path=/trunk/mcs/; revision=104961
2008-06-05 07:55:34 +00:00
Konstantin Triger e175c2c052 TARGET_JVM: make sure XmlDateTimeSerializationMode.Unspecified works
svn path=/trunk/mcs/; revision=92606
2008-01-10 17:56:47 +00:00
Atsushi Eno a477ee03e7 revert the broken change that even fails on .NET 2.0.
svn path=/trunk/mcs/; revision=90445
2007-11-29 17:23:23 +00:00
Konstantin Triger ae40414c3e fix ToDateTime(XmlDateTimeSerializationMode.Unspecified)/ToString(DateTime) for local time
svn path=/trunk/mcs/; revision=90413
2007-11-29 07:57:02 +00:00
Atsushi Eno 0274fff8a3 2007-11-09 Atsushi Enomoto <[email protected]>
* XmlConvert.cs : ToDateTime(XmlDateTimeSerializationMode) should
	  allow more strings than existing one. Fixed bug #339004.

	* XmlConvertTests.cs : added test for #339004 and more.


svn path=/trunk/mcs/; revision=89305
2007-11-09 08:48:09 +00:00
Gert Driesen 7d297a4a8a * XmlConvertTests.cs: Added link to MS bug report.
svn path=/trunk/mcs/; revision=88545
2007-10-31 09:43:18 +00:00
Atsushi Eno 756ab6c79b 2007-10-30 Atsushi Enomoto <[email protected]>
* XmlConvert.cs : ToDateTime(string,string) should use ParseExact(),
	  not Parse(). Use 'K' for roundtrip format.

	* XmlCustomFormatter.cs : use RoundtripKind when converting to and
	  from DateTime.

	* XmlConvertTest.cs : added test for DateTime roundtrip.

	* XmlSerializerTests.cs : added test for bug #337729.


svn path=/trunk/mcs/; revision=88448
2007-10-30 12:33:34 +00:00
Atsushi Eno 044e2c1ec4 2007-04-25 Atsushi Enomoto <[email protected]>
* XmlConvert.cs : MinValue and MaxValue are unchanged by the
	  serialization mode (unlike DateTime.ToString()).

	* XmlCustomFormatter.cs : fix GenerateToXmlString() as well.

	* XmlConvertTests.cs : added test for MaxValue serialization with
	  every XmlDateTimeSerializationMode.


svn path=/trunk/mcs/; revision=76275
2007-04-25 19:31:47 +00:00
Atsushi Eno 2e8e4e6a2f 2006-07-25 Atsushi Enomoto <[email protected]>
* XmlConvert.cs : TimeSpan conversion for TimeSpan.MinValue was
	  failing.

	* XmlConvertTest.cs :
	  Added TimeSpan conversion test for min/max values.


svn path=/trunk/mcs/; revision=62944
2006-07-25 08:42:59 +00:00
Atsushi Eno 1c8a5029e0 2006-01-25 Atsushi Enomoto <[email protected]>
* XmlConvert.cs : ToString(TimeSpan) should return valid duration
	  for TimeSpan.Zero, rather than "P". Fixed bug #77350

	* XmlConvertTests.cs : added test for bug #77350.


svn path=/trunk/mcs/; revision=56026
2006-01-25 03:36:13 +00:00
Atsushi Eno ee9d802656 2006-01-16 Atsushi Enomoto <[email protected]>
* XmlConvert.cs : handle Ticks. Fixed bug #77252.

	* XmlConvertTests.cs : added test for bug #77252.


svn path=/trunk/mcs/; revision=55620
2006-01-16 06:06:54 +00:00
Atsushi Eno 8a668546b1 2005-11-09 Atsushi Enomoto <[email protected]>
* XmlConvert.cs : implemented VerifyTOKEN().

	* XmlConvertTests.cs : tests for ToUInt16/32/64() and VerifyTOKEN().


svn path=/trunk/mcs/; revision=52870
2005-11-10 17:44:03 +00:00
Atsushi Eno 0278b90f43 2005-11-09 Atsushi Enomoto <[email protected]>
* XmlConvertTests.cs : some tests for ToInt64(), ToSByte(),


svn path=/trunk/mcs/; revision=52861
2005-11-10 17:18:42 +00:00
Atsushi Eno 84269d9282 2005-11-09 Atsushi Enomoto <[email protected]>
* XmlConvert.cs : VerifyNCName() and VerifyName() throws
	  ArgumentNullException for "".

	* XmlConvertTests.cs : some tests for ToInt16(), ToInt32(),
	  VerifyName() and VerifyNCName().


svn path=/trunk/mcs/; revision=52857
2005-11-10 16:55:55 +00:00
Atsushi Eno 6b340411a9 2005-10-04 Atsushi Enomoto <[email protected]>
* XmlConvert.cs : ToTimeSpan() resulted in an infinite loop when the
	  digits for "second" were not exactly 3. Fixed bug #76328.

	* XmlConvertTests.cs : added test for bug #76328.


svn path=/trunk/mcs/; revision=51188
2005-10-04 18:08:14 +00:00
Atsushi Eno 512ed7121f 2005-06-29 Atsushi Enomoto <[email protected]>
* XmlConvert.cs : ToTimeSpan() should accept milliseconds (according
	  to ISO 8601 and XSD datatypes 3.2.6.1).

	* XmlConvertTests.cs : added timespan milliseconds testcase.


svn path=/trunk/mcs/; revision=46727
2005-06-29 17:35:43 +00:00
Atsushi Eno 6c489f7182 2005-02-16 Atsushi Enomoto <[email protected]>
* XmlConvertTests.cs : added some null/empty string cases for
	  EncodeName()/EncodeLocalName()/EncodeNmToken().


svn path=/trunk/mcs/; revision=40759
2005-02-16 16:31:10 +00:00
Atsushi Eno 682d3c1cab 2004-04-24 Atsushi Enomoto <[email protected]>
* XmlConvertTests.cs : Commented out locale-dependent tests.
	* XmlDocumentTests.cs : Uncommented now-testable lines.
	  Commented out that should not be allowed, such as non-XML-name node.

svn path=/trunk/mcs/; revision=25936
2004-04-24 14:22:00 +00:00
Atsushi Eno 0c2454195d 2004-04-20 Atsushi Enomoto <[email protected]>
* XmlCharacterDataTests.cs : Added more tests for Substring().
	* XmlConvertTests.cs : Commented out locale-dependent tests.
	* XmlDocumentTests.cs : Added LoadEntityReference().

svn path=/trunk/mcs/; revision=25719
2004-04-20 12:13:21 +00:00
Atsushi Eno 443f5dc95e 2003-10-05 Atsushi Enomoto <[email protected]>
* XmlConvertTests.cs : patch by Jonathan Kessler. Added more test
	  methods.
	* XmlUrlResolverTests.cs : Renamed NullArgs to ResolveUriWithNullArgs,
	  and added GetEntityWithNullArgs() (though it is uncommented).
	* XmlReaderCommonTests.cs : Added XML Schema-mode XmlValidatingReader
	  testing phase.

svn path=/trunk/mcs/; revision=18619
2003-10-05 02:42:52 +00:00
Atsushi Eno 19b526cef1 2003-07-24 Atsushi Enomoto <[email protected]>
* XmlConvertTests.cs,
	  XmlNodeTests.cs,
	  XmlTextWriterTests.cs : removed some compilation warning.
	* XmlNodeReaderTests.cs : reverted Jul. 12th. ReadInnerXmlWrongInit()
	  incorrect commit.
	* XmlValidatingReaderTests.cs : Code refactory (removed xml1, xml2...
	  and changed PrepareXmlReader() as returning validating reader.
	  Added indexer (this[]) property check and ValidationType.None check
	  to TestAttributeDefaultContribution().
	  Added TestExpandEntity(), TestPreserveEntity() and TestNormalization().

svn path=/trunk/mcs/; revision=16616
2003-07-24 17:34:42 +00:00
Atsushi Eno 5364030666 2003-06-01 Atsushi Enomoto <[email protected]>
* XmlConvertTests.cs : added VerifyNCName().

svn path=/trunk/mcs/; revision=15040
2003-06-01 05:57:26 +00:00
Martin Willemoes Hansen ba234c2a4a * Tests inherits from Assertion and Assertion. prefixes removed
svn path=/trunk/mcs/; revision=14558
2003-05-13 20:41:56 +00:00
Atsushi Eno a0d55b7f0e 2003-05-05 Atsushi Enomoto <[email protected]>
* added XmlConvertTests.cs.

svn path=/trunk/mcs/; revision=14269
2003-05-04 19:51:07 +00:00