Menu

Commit [r27479]  Maximize  Restore  History

Changes for how the main GUI windows are destroyed by the GUI test tearDown() method.

These changes revert some of the code of previous commits. The recently introduced pipe editor and
results viewer windows Delete() methods have been deleted. Instead the Close() methods are called
in the tearDown() method to unregister the windows from the observer objects, followed by a
wx.Yield() call to flush the wx events, and then the clean_up_windows() GUI test base method is
called within a wx.CallAfter() call. This avoids the racing induced segfaults in the GUI tests.

bugman 2015-02-03

changed /trunk/gui/pipe_editor.py
changed /trunk/gui/results_viewer.py
changed /trunk/test_suite/gui_tests/base_classes.py
/trunk/gui/pipe_editor.py Diff Switch to side-by-side view
Loading...
/trunk/gui/results_viewer.py Diff Switch to side-by-side view
Loading...
/trunk/test_suite/gui_tests/base_classes.py Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.