Sha256: 3f28e44a4d87d4b2f4c52218f3348e96481c762bb0057a009f30abf0c82206c7
Contents?: true
Size: 554 Bytes
Versions: 18
Compression:
Stored size: 554 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, :input_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.override_color(:normal, nil) end assert_nothing_raised do @widget.override_background_color(:normal, nil) end end end
Version data entries
18 entries across 18 versions & 1 rubygems