summaryrefslogtreecommitdiff
path: root/test/wsdl/test_emptycomplextype.rb
blob: 0c21de8dd232079730a59f5c47d3a6e8f307dd32 (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_equal("#<WSDL::Definitions:{urn:jp.gr.jin.rrr.example.emptycomplextype}emptycomplextype>", @wsdl.inspect)
  end
end



end