Sha256: b175ca73bb6abe23233108b4a0bcee2f7c805a11f7ef50f865491410fddce48d

Contents?: true

Size: 463 Bytes

Versions: 1

Compression:

Stored size: 463 Bytes

Contents

require "mireru2/thumbnail"

class ThumbnailTest < Test::Unit::TestCase
  def test_image_from_file
    widget = Mireru2::Thumbnail.__send__(:image_from_file,
                                        "test/fixtures/nijip.png")
    assert_equal(Gtk::Image, widget.class)
  end

  def test_label_from_fil
    widget = Mireru2::Thumbnail.__send__(:label_from_file,
                                        __FILE__)
    assert_equal(Gtk::Label, widget.class)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mireru2-0.0.1 test/test-thumbnail.rb