Codebase list ruby-fxruby / run/e8f0877b-8d1b-412d-893e-c71bb32ba5fc/main test / TC_FXId.rb
run/e8f0877b-8d1b-412d-893e-c71bb32ba5fc/main

Tree @run/e8f0877b-8d1b-412d-893e-c71bb32ba5fc/main (Download .tar.gz)

TC_FXId.rb @run/e8f0877b-8d1b-412d-893e-c71bb32ba5fc/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?
    mainWindow.create
    assert mainWindow.created?, "main window should be created after call to FXApp#create"
    mainWindow.destroy
    assert !mainWindow.created?
  end
end