Sha256: b5d13e4b73dd33cc7013dfcfcfc5ef4221361e09716de617d6bfe6f3eb5477a5
Contents?: true
Size: 503 Bytes
Versions: 6
Compression:
Stored size: 503 Bytes
Contents
require 'test/unit' require 'fox12' 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
6 entries across 6 versions & 1 rubygems