Sha256: 754b505433b6f67312db4f27eb004c830f74ec6c9384cdf947c029b7cd22bb89
Contents?: true
Size: 497 Bytes
Versions: 8
Compression:
Stored size: 497 Bytes
Contents
require 'test/unit' require 'fox16' class TC_FXShell < Test::Unit::TestCase include Fox 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
8 entries across 8 versions & 1 rubygems