Sha256: 1ee8ee09ed78f15133710e89a6be442fee78242eac73d771827a93a99f910960

Contents?: true

Size: 388 Bytes

Versions: 29

Compression:

Stored size: 388 Bytes

Contents

require 'xml/libxml'
require 'test/unit'

class TestDeprecatedRequire < Test::Unit::TestCase
  def test_basic
    xp = XML::Parser.new
    assert_instance_of(XML::Parser, xp)
    str = '<ruby_array uga="booga" foo="bar"><fixnum>one</fixnum><fixnum>two</fixnum></ruby_array>'
    assert_equal(str, xp.string = str)
    @doc = xp.parse
    assert_instance_of(XML::Document, @doc)
  end
end

Version data entries

29 entries across 29 versions & 5 rubygems

Version Path
libxml-jruby-modified-1.0.2-jruby test/tc_deprecated_require.rb
libxml-jruby-modified-1.0.1-jruby test/tc_deprecated_require.rb
libxml-fixed-jruby-1.0.0-jruby test/tc_deprecated_require.rb
libxml-jruby-fixed-1.0.0-jruby test/tc_deprecated_require.rb
libxml-jruby-1.0.0 test/tc_deprecated_require.rb
libxml-ruby-0.8.2-x86-mswin32-60 test/tc_deprecated_require.rb
libxml-ruby-0.8.2 test/tc_deprecated_require.rb
libxml-ruby-0.8.0 test/tc_deprecated_require.rb
libxml-ruby-0.8.0-x86-mswin32-60 test/tc_deprecated_require.rb
libxml-ruby-0.8.1 test/tc_deprecated_require.rb
libxml-ruby-0.8.1-x86-mswin32-60 test/tc_deprecated_require.rb
libxml-ruby-0.9.1-x86-mswin32-60 test/tc_deprecated_require.rb
libxml-ruby-0.8.3 test/tc_deprecated_require.rb
libxml-ruby-0.8.3-x86-mswin32-60 test/tc_deprecated_require.rb
libxml-ruby-0.9.0 test/tc_deprecated_require.rb
libxml-ruby-0.9.1 test/tc_deprecated_require.rb
libxml-ruby-0.9.0-x86-mswin32-60 test/tc_deprecated_require.rb
libxml-ruby-0.9.2 test/tc_deprecated_require.rb
libxml-ruby-0.9.2-x86-mswin32-60 test/tc_deprecated_require.rb
libxml-ruby-0.9.3-x86-mswin32-60 test/tc_deprecated_require.rb