mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
ffd075fad5
* test/ruby/test_marshal.rb: use above testsuite. * test/soap/marshal/test_marshal.rb: ditto. * test/soap/marshal/cmarshal.rb: removed (not used). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
20 lines
333 B
Ruby
20 lines
333 B
Ruby
require 'test/unit'
|
|
require 'soap/marshal'
|
|
require File.join(File.dirname(File.expand_path(__FILE__)), '../../ruby/marshaltestlib')
|
|
|
|
|
|
module SOAP
|
|
module Marshal
|
|
class TestMarshal < Test::Unit::TestCase
|
|
include MarshalTestLib
|
|
|
|
def encode(o)
|
|
SOAPMarshal.dump(o)
|
|
end
|
|
|
|
def decode(s)
|
|
SOAPMarshal.load(s)
|
|
end
|
|
end
|
|
end
|
|
end
|