diff options
Diffstat (limited to 'test/soap/marshal/test_marshal.rb')
-rw-r--r-- | test/soap/marshal/test_marshal.rb | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/test/soap/marshal/test_marshal.rb b/test/soap/marshal/test_marshal.rb index 8a1b82946f..87e364e2aa 100644 --- a/test/soap/marshal/test_marshal.rb +++ b/test/soap/marshal/test_marshal.rb @@ -1,22 +1,18 @@ require 'test/unit' +require 'soap/marshal' -dir = File.dirname(__FILE__) -$:.push(dir) -require 'cmarshal' -$:.delete(dir) -CMarshal.soap4r +module SOAP +module Marshal module MarshalTestLib def encode(o) - #self.class::MarshalClass.dump(o) - CMarshal.dump(o) + SOAPMarshal.dump(o) end def decode(s) - #self.class::MarshalClass.load(s) - CMarshal.load(s) + SOAPMarshal.load(s) end def marshaltest(o1) @@ -299,3 +295,7 @@ end class TestMarshal < Test::Unit::TestCase include MarshalTestLib end + + +end +end |