This repository has been archived on 2021-09-15 . You can view files and clone it, but cannot push or open issues or pull requests.
15 lines
368 B
Ruby
15 lines
368 B
Ruby
class TestGtkRcStyle < Test::Unit::TestCase
|
|||
include GtkTestUtils
|
|||
|
|||
def setup
|
|||
@style = Gtk::RcStyle.new
|
|||
end
|
|||
|
|||
def test_color_flags
|
|||
assert_equal(Gtk::RC::Flags.new, @style.color_flags(:normal))
|
|||
@style.set_color_flags(:normal, [:fg, :bg])
|
|||
assert_equal(Gtk::RC::Flags::FG | Gtk::RC::Flags::BG,
|
|||
@style.color_flags(:normal))
|
|||
end
|
|||
end
|