mailr16648 - in /branches/uf_redesign/test_suite: gui_tests/state.py shared_data/saved_states/gui_analyses_1.3.bz2


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

Header


Content

Posted by edward on June 04, 2012 - 22:58:
Author: bugman
Date: Mon Jun  4 22:58:50 2012
New Revision: 16648

URL: http://svn.gna.org/viewcvs/relax?rev=16648&view=rev
Log:
Created a GUI test for loading an old relax 1.3 save state containing GUI 
analyses.


Added:
    
branches/uf_redesign/test_suite/shared_data/saved_states/gui_analyses_1.3.bz2 
  (with props)
Modified:
    branches/uf_redesign/test_suite/gui_tests/state.py

Modified: branches/uf_redesign/test_suite/gui_tests/state.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/uf_redesign/test_suite/gui_tests/state.py?rev=16648&r1=16647&r2=16648&view=diff
==============================================================================
--- branches/uf_redesign/test_suite/gui_tests/state.py (original)
+++ branches/uf_redesign/test_suite/gui_tests/state.py Mon Jun  4 22:58:50 
2012
@@ -38,6 +38,14 @@
 
 class State(GuiTestCase):
     """Class for testing various aspects specific to saved states."""
+
+    def test_old_state_loading(self):
+        """Test the loading of an old relax 1.3 save state with GUI 
information."""
+
+        # Simulate the 'Open relax state' menu entry.
+        file = status.install_path + sep + 'test_suite' + sep + 
'shared_data' + sep + 'saved_states' + sep + 'gui_analyses_1.3.bz2'
+        self.app.gui.state_load(file_name=file)
+
 
     def test_load_state_no_gui(self):
         """Test the loading of a relax save state with no GUI data."""

Added: 
branches/uf_redesign/test_suite/shared_data/saved_states/gui_analyses_1.3.bz2
URL: 
http://svn.gna.org/viewcvs/relax/branches/uf_redesign/test_suite/shared_data/saved_states/gui_analyses_1.3.bz2?rev=16648&view=auto
==============================================================================
Binary file - no diff available.

Propchange: 
branches/uf_redesign/test_suite/shared_data/saved_states/gui_analyses_1.3.bz2
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream




Related Messages


Powered by MHonArc, Updated Mon Jun 04 23:00:01 2012