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.12.3 test/test_xml_device.rb
cairo-1.12.2-x86-mingw32 test/test_xml_device.rb
cairo-1.12.2 test/test_xml_device.rb
cairo-1.12.1-x86-mingw32 test/test_xml_device.rb
cairo-1.12.1 test/test_xml_device.rb
cairo-1.12.0-x86-mingw32 test/test_xml_device.rb
cairo-1.12.0 test/test_xml_device.rb
cairo-1.10.2-x86-mingw32 test/test_xml_device.rb
cairo-1.10.2 test/test_xml_device.rb
cairo-1.10.1-x86-mingw32 test/test_xml_device.rb
cairo-1.10.1 test/test_xml_device.rb
cairo-1.10.0-x86-mingw32 test/test_xml_device.rb
cairo-1.10.0 test/test_xml_device.rb