Sha256: cbfea6f32b93993b0edd4f9891bb207cca384b34a857dee529d2f86627e5c5f0

Contents?: true

Size: 460 Bytes

Versions: 4

Compression:

Stored size: 460 Bytes

Contents

require "mireru/thumbnail"

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

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
mireru-0.1.8 test/test-thumbnail.rb
mireru-0.1.7 test/test-thumbnail.rb
mireru-0.1.6 test/test-thumbnail.rb
mireru-0.1.5 test/test-thumbnail.rb