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
savant-echo-0.1.5 bin/alexa-0.1.2-osx/lib/vendor/ruby/2.2.0/gems/cairo-1.15.2/test/test_xml_device.rb
savant-echo-0.1.5 bin/packaging/vendor/ruby/2.2.0/gems/cairo-1.15.2/test/test_xml_device.rb
savant-echo-0.1.4 bin/packaging/vendor/ruby/2.2.0/gems/cairo-1.15.2/test/test_xml_device.rb
savant-echo-0.1.4 bin/alexa-0.1.2-osx/lib/vendor/ruby/2.2.0/gems/cairo-1.15.2/test/test_xml_device.rb
savant-echo-0.1.3 bin/alexa-0.1.2-osx/lib/vendor/ruby/2.2.0/gems/cairo-1.15.2/test/test_xml_device.rb
savant-echo-0.1.3 bin/packaging/vendor/ruby/2.2.0/gems/cairo-1.15.2/test/test_xml_device.rb
cairo-1.15.3-x86-mingw32 test/test_xml_device.rb
cairo-1.15.3-x64-mingw32 test/test_xml_device.rb
cairo-1.15.3 test/test_xml_device.rb
cairo-1.14.6 test/test_xml_device.rb
cairo-1.14.6-x86-mingw32 test/test_xml_device.rb
cairo-1.14.6-x64-mingw32 test/test_xml_device.rb
cairo-1.15.2-x64-mingw32 test/test_xml_device.rb
cairo-1.15.2-x86-mingw32 test/test_xml_device.rb
cairo-1.15.2 test/test_xml_device.rb
cairo-1.14.3-x86-mingw32 test/test_xml_device.rb
cairo-1.14.3-x64-mingw32 test/test_xml_device.rb
cairo-1.14.3 test/test_xml_device.rb
cairo-1.14.2-x64-mingw32 test/test_xml_device.rb
cairo-1.14.2-x86-mingw32 test/test_xml_device.rb