aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/core/test_gtk_webicon.rb26
1 files changed, 0 insertions, 26 deletions
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