Sha256: 89e9d9943b6bb336db3bac561143f71ac65f8c37f53850f11fba9ac148567ebe

Contents?: true

Size: 574 Bytes

Versions: 20

Compression:

Stored size: 574 Bytes

Contents

require 'test/unit'
require 'testcase'
require 'fox16'

include Fox

class TC_FXMessageBox < TestCase
  def setup
    super(self.class.name)
  end
  
  def test_construct_with_save_cancel_dontsave
    assert_nothing_raised(RangeError) do
      FXMessageBox.new(mainWindow, "Save?", "Save?", :opts => MBOX_SAVE_CANCEL_DONTSAVE)
    end
  end
  
  def test_mbox_clicked_dontsave_defined
    assert(Fox.const_defined?(:MBOX_CLICKED_DONTSAVE))
  end
  
  def test_mbox_clicked_dontsave_equal_to_mbox_clicked_no
    assert_equal(MBOX_CLICKED_NO, MBOX_CLICKED_DONTSAVE)
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

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