|
Revision 1520, 399 bytes
(checked in by nahi, 4 years ago)
|
removed svn:executable
|
- Property svn:eol-style set to
native
- Property svn:keywords set to
author date id revision
|
| Line | |
|---|
| 1 |
require 'test/unit' |
|---|
| 2 |
require 'wsdl/parser' |
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
module WSDL |
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 |
class TestWSDL < Test::Unit::TestCase |
|---|
| 9 |
def setup |
|---|
| 10 |
@file = File.join(File.dirname(File.expand_path(__FILE__)), 'emptycomplextype.wsdl') |
|---|
| 11 |
end |
|---|
| 12 |
|
|---|
| 13 |
def test_wsdl |
|---|
| 14 |
@wsdl = WSDL::Parser.new.parse(File.open(@file) { |f| f.read }) |
|---|
| 15 |
assert(/\{urn:jp.gr.jin.rrr.example.emptycomplextype\}emptycomplextype/ =~ @wsdl.inspect) |
|---|
| 16 |
end |
|---|
| 17 |
end |
|---|
| 18 |
|
|---|
| 19 |
|
|---|
| 20 |
|
|---|
| 21 |
end |
|---|