e$B$3$s$K$A$O!"$J$+$`$ie(B(e$B$&e(B)e$B$G$9!#e(B
test-alle$B$r<B9T$9$k$?$S$Ke(Btest/wsdl/document/echo.rbe$B$,99?7$5$le(B
e$B$F!"$=$N$;$$$G%U%!%$%k$N2~9T%3!<%I$,JQ$o$C$Fe(B(mswin32e$B$J$N$Ge(B)e$B!“e(B
e$B<!2s$Ne(Bcvs
upe$B;~$Ke(Bmodifiede$B$HJs9p$5$l$k!”$H$$$&8=>]$K$:$C$H%$%ie(B
e$B%$%i$7$F$?$N$G$9$,!"$=$b$=$b$3$N%U%!%$%k$O%F%9%H<B9T;~$K@[email protected](B
e$B$5$l$k$N$G!“e(Bcvse$B%j%]%8%H%j$KEPO?$5$l$F$$$kI,MW$,$J$$!”$H$$$&$3e(B
e$B$H$K5$IU$-$^$7$?!#e(B
e$B$H$$$&$o$1$G!"e(B
(1)
echo.rbe$B$re(Btest/wsdl/documente$B$G$O$J$/e(Btmpdire$B$K:n$k$h$&$K$7e(B
e$B$?>e$G!"e(B
(2)
e$B$A$c$s$He(Bteardowne$B$Ge(Becho.rbe$B$r:o=|$9$k$h$&$K$7$?e(B(e$B$b$H$b$H%3e(B
e$B%a%s%H$H$7$FMQ0U$5$l$F$^$7$?$,e(B)
e$B$H$$$&%Q%C%A$r=q$$$F$_$^$7$?!#e(B
e$B$h$m$7$1$l$P$3$N%Q%C%A$r:NMQ$7$?>e$G%j%]%8%H%j$+$ie(Becho.rbe$B$r:oe(B
e$B=|$7$F$[$7$$$N$G$9$,!"$I$&$G$7$g$&$+!#e(B
e$B$G$b!":o=|$9$k%3!<%I$,%3%a%s%H%"%&%H$5$l$F$?$H$$$&$3$H$O!“2?e(B
e$B$+0UL#$,$”$k$N$+$J$"!#e(B
Index: test/wsdl/document/test_rpc.rb
RCS file: /home/cvs/ruby/test/wsdl/document/test_rpc.rb,v
retrieving revision 1.3
diff -u -1 -p -r1.3 test_rpc.rb
— test/wsdl/document/test_rpc.rb 3 Jul 2005 14:31:26 -0000 1.3
+++ test/wsdl/document/test_rpc.rb 21 Aug 2006 04:01:38 -0000
@@ -5,2 +5,3 @@ require ‘soap/rpc/standaloneServer’
require ‘soap/wsdlDriver’
+require ‘tmpdir’
@@ -42,2 +43,3 @@ class TestRPC < Test::Unit::TestCase
DIR = File.dirname(File.expand_path(FILE))
- TMPDIR = Dir.tmpdir
@@ -53,3 +55,3 @@ class TestRPC < Test::Unit::TestCase
teardown_server
- #File.unlink(pathname(‘echo.rb’))
- File.unlink(libpathname(‘echo.rb’))
@client.reset_stream if @client
@@ -65,4 +67,4 @@ class TestRPC < Test::Unit::TestCase
gen = WSDL::WSDL2Ruby.new
- gen.location = pathname(“document.wsdl”)
- gen.basedir = DIR
- gen.location = wsdlpathname(“document.wsdl”)
- gen.basedir = TMPDIR
gen.logger.level = Logger::FATAL
@@ -71,3 +73,3 @@ class TestRPC < Test::Unit::TestCase
gen.run
- require pathname(‘echo’)
- require libpathname(‘echo’)
end
@@ -88,3 +90,3 @@ class TestRPC < Test::Unit::TestCase
- def pathname(filename)
-
def wsdlpathname(filename)
File.join(DIR, filename)
@@ -92,2 +94,6 @@ class TestRPC < Test::Unit::TestCase -
def libpathname(filename)
-
File.join(TMPDIR, filename)
-
end
-
def test_wsdl
e$B$=$l$G$O!#e(B