Sha256: 497231204120d05f87e457a6a01c8199ffcc17ad3afdd6893ad971d9865f2749
Contents?: true
Size: 544 Bytes
Versions: 4
Compression:
Stored size: 544 Bytes
Contents
# $Id: tc_xml_parser3.rb 67 2006-04-17 13:30:22Z roscopeco $ require "libxml_test" require 'test/unit' class TC_XML_Parser3 < Test::Unit::TestCase def setup() @xp = XML::Parser.new() assert_instance_of(XML::Parser, @xp) s = @xp.string = '<u>a</u>' assert_instance_of(String, s) assert_instance_of(String, @xp.string) assert_equal(s, @xp.string) end def teardown() @xp = nil end def test_ruby_xml_parser_new() assert_instance_of(XML::Parser, @xp) assert_instance_of(String, @xp.string) end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
libxml-ruby-0.5.2.0 | tests/tc_xml_parser3.rb |
libxml-ruby-0.5.0 | tests/tc_xml_parser3.rb |
libxml-ruby-0.5.0.1 | tests/tc_xml_parser3.rb |
libxml-ruby-0.5.1.0 | tests/tc_xml_parser3.rb |