Sha256: 698e3968cb8f853e7a89f54135d50d2292aaf1c1c4e1590978eaa94e5bd0cdce
Contents?: true
Size: 503 Bytes
Versions: 7
Compression:
Stored size: 503 Bytes
Contents
require 'test/unit' require 'fox14' include Fox class TC_FXShell < Test::Unit::TestCase def setup if FXApp.instance.nil? @app = FXApp.new('TC_FXShell', 'FXRuby') @app.init([]) else @app = FXApp.instance end @mainWin = FXMainWindow.new(@app, 'TC_FXShell') end def test_new # Free-floating shell1 = FXShell.new(@app, 0, 0, 0, 0, 0) # Owned shell2 = FXShell.new(@mainWin, 0, 0, 0, 0, 0) assert_same(@mainWin, shell2.owner) end end
Version data entries
7 entries across 7 versions & 1 rubygems