Sha256: d252bfb49875c2900cd18d0c1f026e226d03def392047bedbe1518b4e5213411
Contents?: true
Size: 591 Bytes
Versions: 1
Compression:
Stored size: 591 Bytes
Contents
# $Id: tc_xml_parser6.rb,v 1.2 2006/02/21 20:40:16 roscopeco Exp $ require "#{File.dirname(__FILE__)}/../ext/xml/libxml" unless defined?(XML) 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
libxml-ruby-0.3.6 | tests/tc_xml_parser6.rb |