mailr14710 - in /1.3/test_suite/gui_tests: noe.py rx.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on September 20, 2011 - 11:02:
Author: bugman
Date: Tue Sep 20 11:02:48 2011
New Revision: 14710

URL: http://svn.gna.org/viewcvs/relax?rev=14710&view=rev
Log:
Bug fixes for the GUI tests on MS Windows.

The GUI interpreter thread is now flushed prior to the peak list wizards, as 
the wizard's user
functions are synchronous (and the previous ones were asynchronous).


Modified:
    1.3/test_suite/gui_tests/noe.py
    1.3/test_suite/gui_tests/rx.py

Modified: 1.3/test_suite/gui_tests/noe.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/test_suite/gui_tests/noe.py?rev=14710&r1=14709&r2=14710&view=diff
==============================================================================
--- 1.3/test_suite/gui_tests/noe.py (original)
+++ 1.3/test_suite/gui_tests/noe.py Tue Sep 20 11:02:48 2011
@@ -32,6 +32,7 @@
 from test_suite.gui_tests.base_classes import GuiTestCase
 
 # relax GUI imports.
+from gui.interpreter import Interpreter; interpreter = Interpreter()
 from gui.misc import int_to_gui, str_to_gui
 from gui.user_functions import deselect, sequence, spin
 from gui.wizard import Wiz_window
@@ -87,6 +88,9 @@
         page = spin.Name_page(wizard)
         page.name.SetValue(str_to_gui('N'))
         page.on_execute()
+
+        # Flush the interpreter in preparation for the synchronous user 
functions of the peak list wizard.
+        interpreter.flush()
 
         # The intensity data.
         ids = ['ref', 'sat']

Modified: 1.3/test_suite/gui_tests/rx.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/test_suite/gui_tests/rx.py?rev=14710&r1=14709&r2=14710&view=diff
==============================================================================
--- 1.3/test_suite/gui_tests/rx.py (original)
+++ 1.3/test_suite/gui_tests/rx.py Tue Sep 20 11:02:48 2011
@@ -32,6 +32,7 @@
 from test_suite.gui_tests.base_classes import GuiTestCase
 
 # relax GUI imports.
+from gui.interpreter import Interpreter; interpreter = Interpreter()
 from gui.misc import bool_to_gui, float_to_gui, int_to_gui, float_to_gui, 
str_to_gui
 from gui.user_functions import deselect, sequence, spin
 from gui.wizard import Wiz_window
@@ -137,6 +138,9 @@
         page = spin.Name_page(wizard)
         page.name.SetValue(str_to_gui('N'))
         page.on_execute()
+
+        # Flush the interpreter in preparation for the synchronous user 
functions of the peak list wizard.
+        interpreter.flush()
 
         # Spectrum names.
         names = [




Related Messages


Powered by MHonArc, Updated Tue Sep 20 11:40:02 2011