This repository has been archived on 2021-09-15 . You can view files and clone it, but cannot push or open issues or pull requests.
15 lines
342 B
Ruby
15 lines
342 B
Ruby
class TestGtkAboutDialog < Test::Unit::TestCase
|
|||
include GtkTestUtils
|
|||
|
|||
def setup
|
|||
@dialog = Gtk::AboutDialog.new
|
|||
end
|
|||
|
|||
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
|
|||
end
|