Codebase list ruby-fxruby / 6feefe1
Fix two test cases. Lars Kanis 8 years ago
2 changed file(s) with 2 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
1010
1111 def test_created?
1212 assert !mainWindow.created?
13 app.create
13 mainWindow.create
1414 assert mainWindow.created?, "main window should be created after call to FXApp#create"
1515 mainWindow.destroy
1616 assert !mainWindow.created?
1010 end
1111
1212 def test_non_created_app_raises_runtime_error
13 pend "two FXApp are not allowed"
1314 app = FXApp.new
1415 assert_raise RuntimeError do
1516 FXMainWindow.new(app, "title").create