|
Revision 930, 306 bytes
(checked in by nahi, 5 years ago)
|
Add tests.
|
- Property svn:eol-style set to
native
- Property svn:executable set to
*
- Property svn:keywords set to
author date id revision
|
| Line | |
|---|
| 1 |
require 'test/unit' |
|---|
| 2 |
require 'wsdl/xmlSchema/parser' |
|---|
| 3 |
|
|---|
| 4 |
class TestXMLSchemaParser < Test::Unit::TestCase |
|---|
| 5 |
def self.setup(filename) |
|---|
| 6 |
@@filename = filename |
|---|
| 7 |
end |
|---|
| 8 |
|
|---|
| 9 |
def test_wsdl |
|---|
| 10 |
@wsdl = WSDL::XMLSchema::Parser.new.parse(File.open(@@filename).read) |
|---|
| 11 |
end |
|---|
| 12 |
end |
|---|
| 13 |
|
|---|
| 14 |
TestXMLSchemaParser.setup('xmlschema.xml') |
|---|