# File gtk2/test/test_gtk_about_dialog.rb, line 4 def setup @dialog = Gtk::AboutDialog.new end
# File gtk2/test/test_gtk_about_dialog.rb, line 8 def test_program_name only_gtk_version(2, 12, 0) assert_equal(File.basename($0), @dialog.program_name) @dialog.program_name = "my-program" assert_equal("my-program", @dialog.program_name) end