blob: 71d1b8641de26395079609631b04370af08a9250 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
require 'test/unit'
require 'wsdl/parser'
module WSDL
class TestWSDL < Test::Unit::TestCase
def setup
@file = File.join(File.dirname(File.expand_path(__FILE__)), 'emptycomplextype.wsdl')
end
def test_wsdl
@wsdl = WSDL::Parser.new.parse(File.open(@file) { |f| f.read })
assert(/\{urn:jp.gr.jin.rrr.example.emptycomplextype\}emptycomplextype/ =~ @wsdl.inspect)
end
end
end
|