diff options
| author | nahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-11-08 09:52:42 +0000 |
|---|---|---|
| committer | nahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-11-08 09:52:42 +0000 |
| commit | 660e839bb8ffd74308b56f100e05f7f141aa00ac (patch) | |
| tree | 4455d91a96cc91f03858ef6c517e9b7d7dbbf119 /test/soap/marshal/test_digraph.rb | |
| parent | c18d7d2f0b7fc96b71e02c166bdd37da945b2511 (diff) | |
| download | ruby-660e839bb8ffd74308b56f100e05f7f141aa00ac.tar.gz ruby-660e839bb8ffd74308b56f100e05f7f141aa00ac.tar.xz ruby-660e839bb8ffd74308b56f100e05f7f141aa00ac.zip | |
* test/wsdl/raa/*: add new testcase for WSDL loading, parsing and reading.
* test/soap/marshal/*: backport from soap4r/1.5.1. all differences are for
ruby/1.6.
* lib/soap/*: backport from soap4r/1.5.1. all differences are for ruby/1.6.
* lib/wsdl/data.rb, lib/wsdl/xmlSchema/data.rb: move definition of
ArrayTypeAttrName from ::WSDL::XMLSchema::* to ::WSDL::*. [ruby-talk:84813]
* lib/wsdl/soap/definitions.rb: element name typo in custom exception struct
definition which is needed for wsdlDriver; camelCase -> underscore_name.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4925 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/soap/marshal/test_digraph.rb')
| -rw-r--r-- | test/soap/marshal/test_digraph.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/soap/marshal/test_digraph.rb b/test/soap/marshal/test_digraph.rb index c83238748..d7f30654f 100644 --- a/test/soap/marshal/test_digraph.rb +++ b/test/soap/marshal/test_digraph.rb @@ -36,7 +36,9 @@ class TestDigraph < Test::Unit::TestCase f = File.open("digraph_marshalled_string.soap", "wb") SOAP::Marshal.dump(@n1, f) f.close - str = File.read("digraph_marshalled_string.soap") + f = File.open("digraph_marshalled_string.soap") + str = f.read + f.close newnode = SOAP::Marshal.unmarshal(str) assert_equal(newnode.first.first.__id__, newnode.second.first.__id__) assert_equal(newnode.first.first.first.first.__id__, newnode.second.first.second.first.__id__) |
