Sha256: d7479da54d955d76706e0d4274210effa260bc035c3d660f71bf1c646219b19c
Contents?: true
Size: 427 Bytes
Versions: 93
Compression:
Stored size: 427 Bytes
Contents
class XMLDeviceTest < Test::Unit::TestCase include CairoTestUtils def setup only_device("XML") end def test_new output = StringIO.new device = Cairo::XMLDevice.new(output) assert_equal("", output.string) end def test_new_with_block output = StringIO.new string = nil Cairo::XMLDevice.new(output) do |device| string = output.string end assert_equal("", string) end end
Version data entries
93 entries across 85 versions & 2 rubygems