Sha256: 7285262492881f4e6b12c9853857ee812d9fb9790204453927c10cc76206aaa2

Contents?: true

Size: 419 Bytes

Versions: 24

Compression:

Stored size: 419 Bytes

Contents

class XMLDeviceTest < Test::Unit::TestCase
  include Helper

  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

24 entries across 24 versions & 1 rubygems

Version Path
cairo-1.17.13 test/test_xml_device.rb
cairo-1.17.12 test/test_xml_device.rb
cairo-1.17.11 test/test_xml_device.rb
cairo-1.17.10 test/test_xml_device.rb
cairo-1.17.9 test/test_xml_device.rb
cairo-1.17.8 test/test_xml_device.rb
cairo-1.17.7 test/test_xml_device.rb
cairo-1.17.6 test/test_xml_device.rb
cairo-1.17.5 test/test_xml_device.rb
cairo-1.17.4 test/test_xml_device.rb
cairo-1.16.6 test/test_xml_device.rb
cairo-1.16.5 test/test_xml_device.rb
cairo-1.16.4 test/test_xml_device.rb
cairo-1.16.3 test/test_xml_device.rb
cairo-1.16.2 test/test_xml_device.rb
cairo-1.16.1-x86-mingw32 test/test_xml_device.rb
cairo-1.16.1-x64-mingw32 test/test_xml_device.rb
cairo-1.16.1 test/test_xml_device.rb
cairo-1.16.0-x86-mingw32 test/test_xml_device.rb
cairo-1.16.0-x64-mingw32 test/test_xml_device.rb