1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* test/soap/marshal/test_marshal.rb, test/ruby/test_marshal.rb: do $:

trick to share the testcase test/ruby/marshaltestlib.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nahi 2004-02-17 14:28:34 +00:00
parent ffd075fad5
commit dd23ad7e84
3 changed files with 21 additions and 3 deletions

View file

@ -1,3 +1,8 @@
Tue Feb 17 23:28:45 2004 NAKAMURA, Hiroshi <nakahiro@sarion.co.jp>
* test/soap/marshal/test_marshal.rb, test/ruby/test_marshal.rb: do $:
trick to share the testcase test/ruby/marshaltestlib.rb.
Tue Feb 17 23:13:23 2004 NAKAMURA, Hiroshi <nakahiro@sarion.co.jp>
* test/ruby/marshaltestlib.rb: common marshal testcase added.

View file

@ -1,5 +1,12 @@
require 'test/unit'
require File.join(File.dirname(File.expand_path(__FILE__)), 'marshaltestlib')
dir = File.dirname(File.expand_path(__FILE__))
orgpath = $:.dup
begin
$:.push(dir)
require 'marshaltestlib'
ensure
$:.replace(orgpath)
end
$KCODE = 'none'

View file

@ -1,7 +1,13 @@
require 'test/unit'
require 'soap/marshal'
require File.join(File.dirname(File.expand_path(__FILE__)), '../../ruby/marshaltestlib')
dir = File.join(File.dirname(File.expand_path(__FILE__)), '../../ruby')
orgpath = $:.dup
begin
$:.push(dir)
require 'marshaltestlib'
ensure
$:.replace(orgpath)
end
module SOAP
module Marshal