Sha256: 13878477e16eedad090ea1b3473a0ed8fc9abddcda698239bb91738a8e37382e
Contents?: true
Size: 538 Bytes
Versions: 3
Compression:
Stored size: 538 Bytes
Contents
# $Id: tc_xml_parser6.rb,v 1.3 2006/04/17 13:30:21 roscopeco Exp $ 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
libxml-ruby-0.3.8.2 | tests/tc_xml_parser6.rb |
libxml-ruby-0.3.8 | tests/tc_xml_parser6.rb |
libxml-ruby-0.3.8.4 | tests/tc_xml_parser6.rb |