Codebase list ruby-fxruby / a5d6a9f5-5862-46e6-bc06-a6194f1ab36f/main test / TC_FXId.rb
a5d6a9f5-5862-46e6-bc06-a6194f1ab36f/main

Tree @a5d6a9f5-5862-46e6-bc06-a6194f1ab36f/main (Download .tar.gz)

TC_FXId.rb @a5d6a9f5-5862-46e6-bc06-a6194f1ab36f/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