summaryrefslogtreecommitdiff
path: root/test/wsdl/ref/test_ref.rb
diff options
context:
space:
mode:
authornahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-24 08:14:57 +0000
committernahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-24 08:14:57 +0000
commit889c7de09d40ebdd3620cf9c0ad74d750b512221 (patch)
tree6c16302232c2b655cfd5ea406a9ac202814a8b35 /test/wsdl/ref/test_ref.rb
parentefed292c4311c8c182a32ac2afe70c6969815b2d (diff)
Mon Dec 24 17:06:37 2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
* {lib,test}/{soap,wsdl,xsd}: removed soap4r along to the discussion at ruby-core and ruby-dev. see [ruby-core:12535], [ruby-dev:31969]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/wsdl/ref/test_ref.rb')
-rw-r--r--test/wsdl/ref/test_ref.rb42
1 files changed, 0 insertions, 42 deletions
diff --git a/test/wsdl/ref/test_ref.rb b/test/wsdl/ref/test_ref.rb
deleted file mode 100644
index 165a8643e9..0000000000
--- a/test/wsdl/ref/test_ref.rb
+++ /dev/null
@@ -1,42 +0,0 @@
-require 'test/unit'
-require 'soap/rpc/standaloneServer'
-require 'soap/wsdlDriver'
-require 'wsdl/soap/wsdl2ruby'
-
-
-module WSDL
-module Ref
-
-
-class TestRef < Test::Unit::TestCase
- DIR = File.dirname(File.expand_path(__FILE__))
- Port = 17171
-
- def test_classdef
- gen = WSDL::SOAP::WSDL2Ruby.new
- gen.location = pathname("product.wsdl")
- gen.basedir = DIR
- gen.logger.level = Logger::FATAL
- gen.opt['classdef'] = nil
- gen.opt['force'] = true
- gen.run
- compare("expectedProduct.rb", "product.rb")
- File.unlink(pathname('product.rb'))
- end
-
- def compare(expected, actual)
- assert_equal(loadfile(expected), loadfile(actual), actual)
- end
-
- def loadfile(file)
- File.open(pathname(file)) { |f| f.read }
- end
-
- def pathname(filename)
- File.join(DIR, filename)
- end
-end
-
-
-end
-end