Sha256: c878b51768a3a13bfc4ff0a069410eb1b6446c8b24337e59ecaff413a6f7a2b7
Contents?: true
Size: 683 Bytes
Versions: 207
Compression:
Stored size: 683 Bytes
Contents
class TestGtkWidget < Test::Unit::TestCase include GtkTestUtils def setup @widget = Gtk::Invisible.new end def test_set_window attrs = Gdk::WindowAttr.new(100, 100, :only, :temp) window = Gdk::Window.new(nil, attrs, 0) @widget.window = window assert_equal(window, @widget.window) end def test_modify_color_component_with_nil_color assert_nothing_raised do @widget.modify_base(:normal, nil) end assert_nothing_raised do @widget.modify_text(:normal, nil) end assert_nothing_raised do @widget.modify_fg(:normal, nil) end assert_nothing_raised do @widget.modify_bg(:normal, nil) end end end
Version data entries
207 entries across 207 versions & 2 rubygems