File: test_gtk_about_dialog.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 (13 lines) | stat: -rw-r--r-- 311 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
class TestGtkAboutDialog < Test::Unit::TestCase
  include GtkTestUtils

  def setup
    @dialog = Gtk::AboutDialog.new
  end

  def test_program_name
    assert_equal(File.basename($0), @dialog.program_name)
    @dialog.program_name = "my-program"
    assert_equal("my-program", @dialog.program_name)
  end
end