Codebase list ruby-fxruby / 8aa7e715-abd0-4131-934e-b2e8e82473f6/main test / TC_FXId.rb
8aa7e715-abd0-4131-934e-b2e8e82473f6/main

Tree @8aa7e715-abd0-4131-934e-b2e8e82473f6/main (Download .tar.gz)

TC_FXId.rb @8aa7e715-abd0-4131-934e-b2e8e82473f6/mainraw · history · blame

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

class TC_FXId < Fox::TestCase
  include Fox

  def setup
    super(self.class.name)
  end

  def test_created?
    assert !mainWindow.created?
    app.create
    assert mainWindow.created?, "main window should be created after call to FXApp#create"
    mainWindow.destroy
    assert !mainWindow.created?
  end
end