From aad1e0d556767a2cb90eeca94bb3f09bc999f891 Mon Sep 17 00:00:00 2001 From: nahi Date: Fri, 28 Nov 2003 05:53:16 +0000 Subject: * lib/soap/streamHandler.rb: drop unused http parameters. * lib/soap/encodingstyle/soapHandler.rb, lib/soap/mapping/factory.rb, lib/soap/mapping/mapping.rb, lib/soap/mapping/registry.rb, lib/wsdl/soap/complexType.rb: ApacheSOAP's map support was broken under WSDL dynanic client environment. fixed. * test/wsdl/raa/*: add tests. * lib/xsd/datatypes.rb: dateTime precision bug fix (at least, I hope.) bug of soap4r. XSDDateTimeImple.to_time passed a Float to Time.local/Time.gm as an usec, and NUM2LONG(rb_num2long for Float) causes rounding error. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/xsd/test_xsd.rb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test/xsd') diff --git a/test/xsd/test_xsd.rb b/test/xsd/test_xsd.rb index 88191bb7f..9b3a7f0f1 100644 --- a/test/xsd/test_xsd.rb +++ b/test/xsd/test_xsd.rb @@ -384,6 +384,9 @@ class TestXSD < Test::Unit::TestCase "2002-12-31T23:59:59-00:01", "2002-12-31T23:59:59-23:59", "2002-12-31T23:59:59.00000000000000000001+13:30", + "2002-12-31T23:59:59.5137Z", + "2002-12-31T23:59:59.51375Z", # 411/800 + "2002-12-31T23:59:59.51375+12:34", "-2002-05-18T16:52:20Z", "-4713-01-01T12:00:00Z", "-2002-12-31T23:59:59+00:01", @@ -445,6 +448,8 @@ class TestXSD < Test::Unit::TestCase "23:59:59-00:01", "23:59:59-23:59", "23:59:59.00000000000000000001+13:30", + "23:59:59.51345Z", + "23:59:59.51345+12:34", "23:59:59+00:01", ] targets.each do |str| -- cgit