From 0b4a07983ff2d2b51aa1d0bb806682c1c55609f8 Mon Sep 17 00:00:00 2001 From: Toshiaki Asai Date: Mon, 21 Nov 2016 08:21:12 +0900 Subject: Gtk::WebIconに、PhotoModelなどを取り扱わせる refs #934 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/core/test_gtk_webicon.rb | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 test/core/test_gtk_webicon.rb (limited to 'test') diff --git a/test/core/test_gtk_webicon.rb b/test/core/test_gtk_webicon.rb deleted file mode 100644 index bd23d720..00000000 --- a/test/core/test_gtk_webicon.rb +++ /dev/null @@ -1,26 +0,0 @@ -# -*- coding: utf-8 -*- -require File.expand_path(File.dirname(__FILE__) + '/../helper') -require 'webmock' -require 'gtk2' - -require 'lib/test_unit_extensions' -miquire :mui, 'webicon' - -class TC_GtkWebIcon < Test::Unit::TestCase - def setup - end - - must "local image load" do - image = Gtk::WebIcon.new(Skin.get('icon.png'), 48, 48) - assert_kind_of(GdkPixbuf::Pixbuf, image.pixbuf) - assert_not_equal(Gdk::WebImageLoader.loading_pixbuf(48, 48), image.pixbuf) - assert_not_equal(Gdk::WebImageLoader.notfound_pixbuf(48, 48), image.pixbuf) - end - - must "local image not found" do - image = Gtk::WebIcon.new('notfound-file', 48, 48) - assert_kind_of(GdkPixbuf::Pixbuf, image.pixbuf) - assert_equal(Gdk::WebImageLoader.notfound_pixbuf(48, 48), image.pixbuf) - end - -end -- cgit v1.2.3