File: test_gdk_pango.rb

package info (click to toggle)
ruby-gnome2 0.19.3-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 11,556 kB
  • ctags: 14,033
  • sloc: ansic: 83,294; ruby: 33,426; makefile: 3,721; cpp: 47; xml: 35
file content (9 lines) | stat: -rw-r--r-- 258 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
class TestGdkPango < Test::Unit::TestCase
  include GtkTestUtils

  def test_emboss_color_attribute
    only_gtk_version(2, 12, 0)
    color = Gdk::PangoAttrEmbossColor.new(Gdk::Color.parse("red"))
    assert_equal([65535, 0, 0], color.value.to_a)
  end
end