summaryrefslogtreecommitdiff
path: root/test/xsd/test_xmlschemaparser.rb
blob: 6e3839a0d2390ed1f7d7164c10b8b279ef69de57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
require 'test/unit'
require 'wsdl/xmlSchema/parser'

class TestXMLSchemaParser < Test::Unit::TestCase
  def self.setup(filename)
    @@filename = filename
  end

  def test_wsdl
    @wsdl = WSDL::XMLSchema::Parser.new.parse(File.open(@@filename).read)
  end
end

TestXMLSchemaParser.setup(File.join(File.dirname(__FILE__), 'xmlschema.xml'))