Sha256: 2aaa597a9d7e280d93418e3260a34973b11fb6b7c09e179af1b64f6ddab76745

Contents?: true

Size: 386 Bytes

Versions: 17

Compression:

Stored size: 386 Bytes

Contents

require 'test/unit'
require 'fox16'

include Fox

class TC_FXMainWindow < Test::Unit::TestCase
  def test_nil_app_raises_argument_error
    assert_raise ArgumentError do
      FXMainWindow.new(nil, "title")
    end
  end
  
  def test_non_created_app_raises_runtime_error
    app = FXApp.new
    assert_raise RuntimeError do
      FXMainWindow.new(app, "title").create
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
fxruby-1.6.20-x86-mingw32 test/TC_FXMainWindow.rb
fxruby-1.6.20-x86-linux test/TC_FXMainWindow.rb
fxruby-1.6.20 test/TC_FXMainWindow.rb
fxruby-1.6.20-universal-darwin-10 test/TC_FXMainWindow.rb
fxruby-1.6.19-x86-mingw32 tests/TC_FXMainWindow.rb
fxruby-1.6.16-universal-darwin-9 tests/TC_FXMainWindow.rb
fxruby-1.6.16-x86-mswin32-60 tests/TC_FXMainWindow.rb
fxruby-1.6.16 tests/TC_FXMainWindow.rb
fxruby-1.6.17-universal-darwin-9 tests/TC_FXMainWindow.rb
fxruby-1.6.17-x86-mswin32-60 tests/TC_FXMainWindow.rb
fxruby-1.6.17 tests/TC_FXMainWindow.rb
fxruby-1.6.18-universal-darwin-9 tests/TC_FXMainWindow.rb
fxruby-1.6.19-universal-darwin-9 tests/TC_FXMainWindow.rb
fxruby-1.6.18-x86-mswin32-60 tests/TC_FXMainWindow.rb
fxruby-1.6.18 tests/TC_FXMainWindow.rb
fxruby-1.6.19-x86-mswin32-60 tests/TC_FXMainWindow.rb
fxruby-1.6.19 tests/TC_FXMainWindow.rb