File: test_gtk_image.rb

package info (click to toggle)
ruby-gnome2 3.1.0-1%2Bdeb9u1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 16,072 kB
  • ctags: 17,433
  • sloc: ansic: 93,621; ruby: 62,273; xml: 335; sh: 246; makefile: 25
file content (8 lines) | stat: -rw-r--r-- 231 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
class TestGtkImage < Test::Unit::TestCase
  include GtkTestUtils

  def test_stock
    image = Gtk::Image.new(:stock => Gtk::Stock::GO_FORWARD, :size => :dialog)
    assert_equal(Gtk::Stock::GO_FORWARD.to_s, image.stock)
  end
end