mailr13218 - in /branches/gui_testing/test_suite/gui_tests: __init__.py noe.py


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

Header


Content

Posted by edward on June 24, 2011 - 12:45:
Author: bugman
Date: Fri Jun 24 12:45:47 2011
New Revision: 13218

URL: http://svn.gna.org/viewcvs/relax?rev=13218&view=rev
Log:
The GUI testing framework is now operational.


Added:
    branches/gui_testing/test_suite/gui_tests/noe.py
      - copied, changed from r13209, 
branches/gui_testing/test_suite/system_tests/noe.py
Modified:
    branches/gui_testing/test_suite/gui_tests/__init__.py

Modified: branches/gui_testing/test_suite/gui_tests/__init__.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/gui_testing/test_suite/gui_tests/__init__.py?rev=13218&r1=13217&r2=13218&view=diff
==============================================================================
--- branches/gui_testing/test_suite/gui_tests/__init__.py (original)
+++ branches/gui_testing/test_suite/gui_tests/__init__.py Fri Jun 24 12:45:47 
2011
@@ -33,6 +33,7 @@
 
 # relax GUI test module imports.
 from noe import Noe
+from test_suite.relax_test_loader import RelaxTestLoader as TestLoader
 
 
 __all__ = ['noe']

Copied: branches/gui_testing/test_suite/gui_tests/noe.py (from r13209, 
branches/gui_testing/test_suite/system_tests/noe.py)
URL: 
http://svn.gna.org/viewcvs/relax/branches/gui_testing/test_suite/gui_tests/noe.py?p2=branches/gui_testing/test_suite/gui_tests/noe.py&p1=branches/gui_testing/test_suite/system_tests/noe.py&r1=13209&r2=13218&rev=13218&view=diff
==============================================================================
--- branches/gui_testing/test_suite/system_tests/noe.py (original)
+++ branches/gui_testing/test_suite/gui_tests/noe.py Fri Jun 24 12:45:47 2011
@@ -1,6 +1,6 @@
 
###############################################################################
 #                                                                            
 #
-# Copyright (C) 2006-2010 Edward d'Auvergne                                  
 #
+# Copyright (C) 2006-2011 Edward d'Auvergne                                  
 #
 #                                                                            
 #
 # This file is part of the program relax.                                    
 #
 #                                                                            
 #
@@ -21,22 +21,18 @@
 
###############################################################################
 
 # Python module imports.
-from os import sep
+from unittest import TestCase
 
 # relax module imports.
-from base_classes import SystemTestCase
 from data import Relax_data_store; ds = Relax_data_store()
 from status import Status; status = Status()
 
 
-class Noe(SystemTestCase):
+class Noe(TestCase):
     """Class for testing various aspects specific to the NOE analysis."""
 
     def setUp(self):
         """Set up for all the functional tests."""
-
-        # Create the data pipe.
-        self.interpreter.pipe.create('noe', 'noe')
 
 
     def tearDown(self):
@@ -47,6 +43,3 @@
 
     def test_noe_analysis(self):
         """Test the NOE analysis."""
-
-        # Execute the script.
-        self.interpreter.run(script_file=status.install_path + 
sep+'test_suite'+sep+'system_tests'+sep+'scripts'+sep+'noe.py')




Related Messages


Powered by MHonArc, Updated Fri Jun 24 14:00:02 2011