diff options
| author | nahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-11-28 05:53:16 +0000 |
|---|---|---|
| committer | nahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-11-28 05:53:16 +0000 |
| commit | aad1e0d556767a2cb90eeca94bb3f09bc999f891 (patch) | |
| tree | 3ddde51774247d839f4e12ae0d9af6ff2e84d35b /test/soap | |
| parent | e8c4ea0157fb9fb9647572f9fcb378d19aeb0618 (diff) | |
| download | ruby-aad1e0d556767a2cb90eeca94bb3f09bc999f891.tar.gz ruby-aad1e0d556767a2cb90eeca94bb3f09bc999f891.tar.xz ruby-aad1e0d556767a2cb90eeca94bb3f09bc999f891.zip | |
* 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
Diffstat (limited to 'test/soap')
| -rw-r--r-- | test/soap/marshal/test_marshal.rb | 2 | ||||
| -rw-r--r-- | test/soap/test_basetype.rb | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/test/soap/marshal/test_marshal.rb b/test/soap/marshal/test_marshal.rb index 9ae08c68d..9d5b706d4 100644 --- a/test/soap/marshal/test_marshal.rb +++ b/test/soap/marshal/test_marshal.rb @@ -369,7 +369,7 @@ module MarshalTestLib class MyTime < Time; def initialize(v, *args) super(*args); @v = v; end end def test_time # once there was a bug caused by usec overflow. try a little harder. - 10.times do + 100.times do t = Time.now marshal_equal(t, t.usec.to_s) end diff --git a/test/soap/test_basetype.rb b/test/soap/test_basetype.rb index 0125f8050..a00f0f549 100644 --- a/test/soap/test_basetype.rb +++ b/test/soap/test_basetype.rb @@ -351,6 +351,8 @@ class TestSOAP < 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.51375Z", + "2002-12-31T23:59:59.51345+12:34", "-2002-05-18T16:52:20Z", "-4711-12-31T23:59:59Z", "-4713-01-01T12:00:00Z", @@ -414,6 +416,8 @@ class TestSOAP < Test::Unit::TestCase "23:59:59-00:01", "23:59:59-23:59", "23:59:59.00000000000000000001+13:30", + "23:59:59.51375Z", + "23:59:59.51375+12:34", "23:59:59+00:01", ] targets.each do |str| |
