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

Version Path
cairo-1.15.13-x64-mingw32 test/test_xml_device.rb
cairo-1.15.13-x86-mingw32 test/test_xml_device.rb
cairo-1.15.13 test/test_xml_device.rb
cairo-1.15.12-x64-mingw32 test/test_xml_device.rb
cairo-1.15.12-x86-mingw32 test/test_xml_device.rb
cairo-1.15.12 test/test_xml_device.rb
cairo-1.15.11-x64-mingw32 test/test_xml_device.rb
cairo-1.15.11-x86-mingw32 test/test_xml_device.rb
cairo-1.15.11 test/test_xml_device.rb
cairo-1.15.10-x86-mingw32 test/test_xml_device.rb
cairo-1.15.10-x64-mingw32 test/test_xml_device.rb
cairo-1.15.10 test/test_xml_device.rb
cairo-1.15.9-x64-mingw32 test/test_xml_device.rb
cairo-1.15.9 test/test_xml_device.rb
cairo-1.15.9-x86-mingw32 test/test_xml_device.rb
cairo-1.15.8-x86-mingw32 test/test_xml_device.rb
cairo-1.15.8-x64-mingw32 test/test_xml_device.rb
cairo-1.15.8 test/test_xml_device.rb
cairo-1.15.7-x64-mingw32 test/test_xml_device.rb
cairo-1.15.7-x86-mingw32 test/test_xml_device.rb