Sha256: cf56fc2eea653c134511a6529b32eeab862fa3cc8115d236057568f6cd2d7fb8
Contents?: true
Size: 506 Bytes
Versions: 5
Compression:
Stored size: 506 Bytes
Contents
require 'test/unit' require 'test/unit/ui/console/testrunner' require 'wx' class DialogTests < Test::Unit::TestCase class TestDialog < Wx::Dialog def initialize super() end end def test_dialog_inheritance dlg = TestDialog.new assert_kind_of(Wx::Dialog, dlg) assert_kind_of(Wx::Window, dlg) end end class TestApp < Wx::App def on_init Test::Unit::UI::Console::TestRunner.run(DialogTests) false end end app = TestApp.new app.run
Version data entries
5 entries across 5 versions & 1 rubygems