Sha256: 2371324f3cb9abbd6d8e68dbe39a507ebb672189ac37c6a6339d87e6d591d226

Contents?: true

Size: 368 Bytes

Versions: 207

Compression:

Stored size: 368 Bytes

Contents

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

Version data entries

207 entries across 207 versions & 2 rubygems

Version Path
gtk2-3.4.3 test/test_gtk_rc_style.rb
gtk2-3.4.2 test/test_gtk_rc_style.rb
gtk2-3.4.1 test/test_gtk_rc_style.rb
gtk2-3.4.0 test/test_gtk_rc_style.rb
gtk2-3.3.9 test/test_gtk_rc_style.rb
gtk2-3.3.8 test/test_gtk_rc_style.rb
gtk2-3.3.7 test/test_gtk_rc_style.rb
gtk2-3.3.6 test/test_gtk_rc_style.rb
gtk2-3.3.5 test/test_gtk_rc_style.rb
gtk2-3.3.4 test/test_gtk_rc_style.rb
gtk2-3.3.3 test/test_gtk_rc_style.rb
gtk2-3.3.2 test/test_gtk_rc_style.rb
gtk2-3.3.1 test/test_gtk_rc_style.rb
gtk2-3.3.0 test/test_gtk_rc_style.rb
gtk2-3.2.9-x64-mingw32 test/test_gtk_rc_style.rb
gtk2-3.2.9-x86-mingw32 test/test_gtk_rc_style.rb
gtk2-3.2.9 test/test_gtk_rc_style.rb
gtk2-3.2.8-x64-mingw32 test/test_gtk_rc_style.rb
gtk2-3.2.8-x86-mingw32 test/test_gtk_rc_style.rb
gtk2-3.2.8 test/test_gtk_rc_style.rb