Author: bugman
Date: Thu Feb 5 12:03:31 2015
New Revision: 27540
URL: http://svn.gna.org/viewcvs/relax?rev=27540&view=rev
Log:
Created the infrastructure for a Statistics system test class.
This will be used for checking statistics produced by relax.
Added:
trunk/test_suite/system_tests/statistics.py
Modified:
trunk/test_suite/system_tests/__init__.py
Modified: trunk/test_suite/system_tests/__init__.py
URL:
http://svn.gna.org/viewcvs/relax/trunk/test_suite/system_tests/__init__.py?rev=27540&r1=27539&r2=27540&view=diff
==============================================================================
--- trunk/test_suite/system_tests/__init__.py (original)
+++ trunk/test_suite/system_tests/__init__.py Thu Feb 5 12:03:31 2015
@@ -1,6 +1,6 @@
###############################################################################
# #
-# Copyright (C) 2006-2013 Edward d'Auvergne #
+# Copyright (C) 2006-2015 Edward d'Auvergne #
# #
# This file is part of the program relax (http://www.nmr-relax.com). #
# #
@@ -65,6 +65,7 @@
from test_suite.system_tests.sequence import Sequence
from test_suite.system_tests.spectrum import Spectrum
from test_suite.system_tests.state import State
+from test_suite.system_tests.statistics import Statistics
from test_suite.system_tests.structure import Structure
from test_suite.system_tests.unit_vectors import Unit_vectors
from test_suite.system_tests.value import Value
@@ -104,6 +105,7 @@
'sequence',
'spectrum',
'state',
+ 'statistics',
'structure',
'unit_vectors',
'value']
@@ -195,6 +197,7 @@
suite_array.append(TestLoader().loadTestsFromTestCase(Sequence))
suite_array.append(TestLoader().loadTestsFromTestCase(Spectrum))
suite_array.append(TestLoader().loadTestsFromTestCase(State))
+ suite_array.append(TestLoader().loadTestsFromTestCase(Statistics))
suite_array.append(TestLoader().loadTestsFromTestCase(Structure))
suite_array.append(TestLoader().loadTestsFromTestCase(Unit_vectors))
suite_array.append(TestLoader().loadTestsFromTestCase(Value))
Added: trunk/test_suite/system_tests/statistics.py
URL:
http://svn.gna.org/viewcvs/relax/trunk/test_suite/system_tests/statistics.py?rev=27540&view=auto
==============================================================================
--- trunk/test_suite/system_tests/statistics.py (added)
+++ trunk/test_suite/system_tests/statistics.py Thu Feb 5 12:03:31 2015
@@ -0,0 +1,29 @@
+###############################################################################
+# #
+# Copyright (C) 2015 Edward d'Auvergne #
+# #
+# This file is part of the program relax (http://www.nmr-relax.com). #
+# #
+# This program is free software: you can redistribute it and/or modify #
+# it under the terms of the GNU General Public License as published by #
+# the Free Software Foundation, either version 3 of the License, or #
+# (at your option) any later version. #
+# #
+# This program is distributed in the hope that it will be useful, #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
+# GNU General Public License for more details. #
+# #
+# You should have received a copy of the GNU General Public License #
+# along with this program. If not, see <http://www.gnu.org/licenses/>. #
+# #
+###############################################################################
+
+# relax module imports.
+from test_suite.system_tests.base_classes import SystemTestCase
+
+
+class Statistics(SystemTestCase):
+ """Class for testing the statistics user functions."""
+
+
_______________________________________________
relax (http://www.nmr-relax.com)
This is the relax-commits mailing list
[email protected]
To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-commits