diff options
| author | nahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-24 08:14:57 +0000 |
|---|---|---|
| committer | nahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-24 08:14:57 +0000 |
| commit | 0eb20dc9b41da71b51540f75cfe955ed71420915 (patch) | |
| tree | 6c16302232c2b655cfd5ea406a9ac202814a8b35 /test/xsd/test_noencoding.rb | |
| parent | f54f1ce821930931cf490d6c7ac8f3f12baec3a1 (diff) | |
| download | ruby-0eb20dc9b41da71b51540f75cfe955ed71420915.tar.gz ruby-0eb20dc9b41da71b51540f75cfe955ed71420915.tar.xz ruby-0eb20dc9b41da71b51540f75cfe955ed71420915.zip | |
Mon Dec 24 17:06:37 2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
* {lib,test}/{soap,wsdl,xsd}: removed soap4r along to the discussion
at ruby-core and ruby-dev. see [ruby-core:12535], [ruby-dev:31969].
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/xsd/test_noencoding.rb')
| -rw-r--r-- | test/xsd/test_noencoding.rb | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/test/xsd/test_noencoding.rb b/test/xsd/test_noencoding.rb deleted file mode 100644 index 48119ec1f..000000000 --- a/test/xsd/test_noencoding.rb +++ /dev/null @@ -1,32 +0,0 @@ -require 'test/unit' -require 'wsdl/xmlSchema/parser' - - -module XSD - - -class TestEmptyCharset < Test::Unit::TestCase - def setup - @file = File.join(File.dirname(File.expand_path(__FILE__)), 'noencoding.xml') - end - - def test_wsdl - begin - xml = WSDL::XMLSchema::Parser.new.parse(File.open(@file) { |f| f.read }) - rescue RuntimeError - if XSD::XMLParser.const_defined?("REXMLParser") - STDERR.puts("rexml cannot handle euc-jp without iconv/uconv.") - return - end - raise - rescue Errno::EINVAL - # unsupported encoding - return - end - assert_equal(WSDL::XMLSchema::Schema, xml.class) - assert_equal(0, xml.collect_elements.size) - end -end - - -end |
