mailr14253 - /branches/gui_testing/test_suite/gui_tests/model_free.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 - 12:19:
Author: bugman
Date: Mon Aug  8 12:19:27 2011
New Revision: 14253

URL: http://svn.gna.org/viewcvs/relax?rev=14253&view=rev
Log:
The relax controller progress gauges are now tested in the model-free 
auto-analysis GUI test.

The should all be set to 100 upon completion.


Modified:
    branches/gui_testing/test_suite/gui_tests/model_free.py

Modified: branches/gui_testing/test_suite/gui_tests/model_free.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/gui_testing/test_suite/gui_tests/model_free.py?rev=14253&r1=14252&r2=14253&view=diff
==============================================================================
--- branches/gui_testing/test_suite/gui_tests/model_free.py (original)
+++ branches/gui_testing/test_suite/gui_tests/model_free.py Mon Aug  8 
12:19:27 2011
@@ -161,6 +161,11 @@
         # Exceptions in the thread.
         self.check_exceptions()
 
+        # Check the relax controller.
+        self.assertEqual(self.gui.controller.mc_gauge_mf.GetValue(), 100)
+        self.assertEqual(self.gui.controller.progress_gauge_mf.GetValue(), 
100)
+        self.assertEqual(self.gui.controller.main_gauge.GetValue(), 100)
+
         # Check the diffusion tensor.
         self.assertEqual(cdp.diff_tensor.type, 'sphere')
         self.assertAlmostEqual(cdp.diff_tensor.tm, 1e-8)




Related Messages


Powered by MHonArc, Updated Mon Aug 08 12:40:01 2011