mailr20156 - in /trunk/test_suite/unit_tests/_lib: ./ _frame_order/ _geometry/


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

Header


Content

Posted by edward on June 16, 2013 - 18:23:
Author: bugman
Date: Sun Jun 16 18:23:56 2013
New Revision: 20156

URL: http://svn.gna.org/viewcvs/relax?rev=20156&view=rev
Log:
Fixes for the TestCase class names for a number of lib package modules.

As the test class name was incorrect, previously the test suite was skipping 
these silently.  This
was dangerous!


Modified:
    trunk/test_suite/unit_tests/_lib/_frame_order/test_matrix_ops.py
    trunk/test_suite/unit_tests/_lib/_geometry/test_pec.py
    trunk/test_suite/unit_tests/_lib/_geometry/test_rotations.py
    trunk/test_suite/unit_tests/_lib/test_io.py
    trunk/test_suite/unit_tests/_lib/test_selection.py

Modified: trunk/test_suite/unit_tests/_lib/_frame_order/test_matrix_ops.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/test_suite/unit_tests/_lib/_frame_order/test_matrix_ops.py?rev=20156&r1=20155&r2=20156&view=diff
==============================================================================
--- trunk/test_suite/unit_tests/_lib/_frame_order/test_matrix_ops.py 
(original)
+++ trunk/test_suite/unit_tests/_lib/_frame_order/test_matrix_ops.py Sun Jun 
16 18:23:56 2013
@@ -33,7 +33,7 @@
 from status import Status; status = Status()
 
 
-class Test_frame_order_matrix_ops(TestCase):
+class Test_matrix_ops(TestCase):
     """Unit tests for the lib.frame_order_matrix_ops relax module."""
 
     def __init__(self, methodName='runTest'):
@@ -49,7 +49,7 @@
             status.skipped_tests.append([methodName, 'Scipy', 'unit'])
 
         # Execute the base class method.
-        super(Test_frame_order_matrix_ops, self).__init__(methodName)
+        super(Test_matrix_ops, self).__init__(methodName)
 
 
     def setUp(self):

Modified: trunk/test_suite/unit_tests/_lib/_geometry/test_pec.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/test_suite/unit_tests/_lib/_geometry/test_pec.py?rev=20156&r1=20155&r2=20156&view=diff
==============================================================================
--- trunk/test_suite/unit_tests/_lib/_geometry/test_pec.py (original)
+++ trunk/test_suite/unit_tests/_lib/_geometry/test_pec.py Sun Jun 16 
18:23:56 2013
@@ -27,7 +27,7 @@
 from lib.geometry.pec import pec
 
 
-class Test_pseudo_ellipse(TestCase):
+class Test_pec(TestCase):
     """Unit tests for the lib.geometry.pec relax module."""
 
 

Modified: trunk/test_suite/unit_tests/_lib/_geometry/test_rotations.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/test_suite/unit_tests/_lib/_geometry/test_rotations.py?rev=20156&r1=20155&r2=20156&view=diff
==============================================================================
--- trunk/test_suite/unit_tests/_lib/_geometry/test_rotations.py (original)
+++ trunk/test_suite/unit_tests/_lib/_geometry/test_rotations.py Sun Jun 16 
18:23:56 2013
@@ -37,7 +37,7 @@
 R2 = zeros((3, 3), float64)
 
 
-class Test_rotation_matrix(TestCase):
+class Test_rotations(TestCase):
     """Unit tests for the lib.geometry.rotations relax module."""
 
     def setUp(self):

Modified: trunk/test_suite/unit_tests/_lib/test_io.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/test_suite/unit_tests/_lib/test_io.py?rev=20156&r1=20155&r2=20156&view=diff
==============================================================================
--- trunk/test_suite/unit_tests/_lib/test_io.py (original)
+++ trunk/test_suite/unit_tests/_lib/test_io.py Sun Jun 16 18:23:56 2013
@@ -27,7 +27,7 @@
 import lib.io
 
 
-class Test_lib_io(TestCase):
+class Test_io(TestCase):
     """Unit tests for the functions of the 'lib.io' module."""
 
 

Modified: trunk/test_suite/unit_tests/_lib/test_selection.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/test_suite/unit_tests/_lib/test_selection.py?rev=20156&r1=20155&r2=20156&view=diff
==============================================================================
--- trunk/test_suite/unit_tests/_lib/test_selection.py (original)
+++ trunk/test_suite/unit_tests/_lib/test_selection.py Sun Jun 16 18:23:56 
2013
@@ -25,7 +25,7 @@
 from test_suite.unit_tests.base_classes import UnitTestCase
 
 
-class Test_lib_selection(UnitTestCase):
+class Test_selection(UnitTestCase):
     """Unit tests for the functions of the 'lib.selection' module."""
 
     def test_Selection_boolean_and(self):




Related Messages


Powered by MHonArc, Updated Sun Jun 16 18:40:01 2013