Sha256: 6c6f5bc6b8cb4621a15fce7692c3080058480ec20a0d40eb6fa426198250fc2d
Contents?: true
Size: 664 Bytes
Versions: 2
Compression:
Stored size: 664 Bytes
Contents
require "libxml" require 'test/unit' class TC_XML_Document_Write < Test::Unit::TestCase def setup() @doc = XML::Document.new('1.0') assert_instance_of(XML::Document, @doc) end def teardown() @doc = nil end def test_ruby_xml_document_write_initialize() assert_instance_of(XML::Document, XML::Document.new()) assert_equal('1.0', @doc.version) end # def test_ruby_xml_document_initialize() def test_ruby_xml_document_write_initialize2() doc = XML::Document.new('6.9') assert_instance_of(XML::Document, doc) assert_equal('6.9', doc.version) end # def test_ruby_xml_document_initialize2() end # TC_XML_Document_Write
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
libxml-ruby-0.5.4 | test/tc_xml_document_write.rb |
libxml-ruby-0.5.3 | test/tc_xml_document_write.rb |