Sha256: a91043faac776ef3e2002a4b55c9f04303c7d67af4efb35917c1d709236c664f
Contents?: true
Size: 521 Bytes
Versions: 3
Compression:
Stored size: 521 Bytes
Contents
require 'test_helper' describe Gtk::Button do describe '.new_from_icon_name' do before do skip if Gtk::MAJOR_VERSION == 2 || Gtk::MAJOR_VERSION == 3 && Gtk::MINOR_VERSION < 10 end it 'works when called with a symbol' do result = Gtk::Button.new_from_icon_name('hi', :dialog) result.must_be_instance_of Gtk::Button end it 'works when called with an integer' do result = Gtk::Button.new_from_icon_name('hi', 4) result.must_be_instance_of Gtk::Button end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
gir_ffi-gtk-0.14.1 | test/gir_ffi-gtk/button_test.rb |
gir_ffi-gtk-0.14.0 | test/gir_ffi-gtk/button_test.rb |
gir_ffi-gtk-0.13.1 | test/gir_ffi-gtk/button_test.rb |