Sha256: 19ae555649b4fca49bd0de888cfc00611ae0392ee4e9dba7acd9cc3391abe06f

Contents?: true

Size: 532 Bytes

Versions: 4

Compression:

Stored size: 532 Bytes

Contents

# $Id: tc_xml_parser6.rb 67 2006-04-17 13:30:22Z roscopeco $
require "libxml_test"
require 'test/unit'

class TC_XML_Parser6 < Test::Unit::TestCase
  def setup()
    @xp = XML::Parser.new()
    assert_instance_of(XML::Parser, @xp)
    f = File.open('tests/model/rubynet.xml')
    f1 = @xp.io = f
    assert_instance_of(File, f1)
    assert_instance_of(File, @xp.io)
  end

  def teardown()
    @xp = nil
  end

  def test_ruby_xml_parser_new()
    assert_instance_of(XML::Parser, @xp)
    assert_instance_of(File, @xp.io)
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
libxml-ruby-0.5.1.0 tests/tc_xml_parser6.rb
libxml-ruby-0.5.0 tests/tc_xml_parser6.rb
libxml-ruby-0.5.0.1 tests/tc_xml_parser6.rb
libxml-ruby-0.5.2.0 tests/tc_xml_parser6.rb