mailr14257 - in /branches/gui_testing/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 August 08, 2011 - 14:24:
Author: bugman
Date: Mon Aug  8 14:24:21 2011
New Revision: 14257

URL: http://svn.gna.org/viewcvs/relax?rev=14257&view=rev
Log:
The relax controller gauges are now checked in the NOE and Rx auto-analysis 
GUI tests as well.


Modified:
    branches/gui_testing/test_suite/gui_tests/noe.py
    branches/gui_testing/test_suite/gui_tests/rx.py

Modified: branches/gui_testing/test_suite/gui_tests/noe.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/gui_testing/test_suite/gui_tests/noe.py?rev=14257&r1=14256&r2=14257&view=diff
==============================================================================
--- branches/gui_testing/test_suite/gui_tests/noe.py (original)
+++ branches/gui_testing/test_suite/gui_tests/noe.py Mon Aug  8 14:24:21 2011
@@ -135,6 +135,9 @@
         # Exceptions in the thread.
         self.check_exceptions()
 
+        # Check the relax controller.
+        self.assertEqual(self.gui.controller.main_gauge.GetValue(), 100)
+
         # The real data.
         res_nums = [4, 5, 6]
         sat = [5050.0, 51643.0, 53663.0]

Modified: branches/gui_testing/test_suite/gui_tests/rx.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/gui_testing/test_suite/gui_tests/rx.py?rev=14257&r1=14256&r2=14257&view=diff
==============================================================================
--- branches/gui_testing/test_suite/gui_tests/rx.py (original)
+++ branches/gui_testing/test_suite/gui_tests/rx.py Mon Aug  8 14:24:21 2011
@@ -224,6 +224,10 @@
         # Exceptions in the thread.
         self.check_exceptions()
 
+        # Check the relax controller.
+        self.assertEqual(self.gui.controller.mc_gauge_rx.GetValue(), 100)
+        self.assertEqual(self.gui.controller.main_gauge.GetValue(), 100)
+
         # Check the data pipe.
         self.assertEqual(cdp_name(), ds.relax_gui.analyses[0].pipe_name)
 




Related Messages


Powered by MHonArc, Updated Mon Aug 08 15:00:03 2011