Package test_suite :: Package unit_tests :: Package _prompt :: Module test_spin :: Class Test_spin
[hide private]
[frames] | no frames]

Class Test_spin

source code


Unit tests for the functions of the 'prompt.spin' module.

Nested Classes [hide private]

Inherited from unittest.case.TestCase: failureException

Instance Methods [hide private]
 
__init__(self, methodName=None)
Set up the test case class for the system tests.
source code
 
test_copy_argfail_pipe_from(self)
Test the proper failure of the spin.copy() user function for the pipe_from argument.
source code
 
test_copy_argfail_spin_from(self)
Test the proper failure of the spin.copy() user function for the spin_from argument.
source code
 
test_copy_argfail_pipe_to(self)
Test the proper failure of the spin.copy() user function for the pipe_to argument.
source code
 
test_copy_argfail_spin_to(self)
Test the proper failure of the spin.copy() user function for the spin_to argument.
source code
 
test_create_argfail_spin_num(self)
Test the proper failure of the spin.create() user function for the spin_num argument.
source code
 
test_create_argfail_spin_name(self)
Test the proper failure of the spin.create() user function for the spin_name argument.
source code
 
test_create_argfail_res_num(self)
Test the proper failure of the spin.create() user function for the res_num argument.
source code
 
test_create_argfail_res_name(self)
Test the proper failure of the spin.create() user function for the res_name argument.
source code
 
test_create_argfail_mol_name(self)
Test the proper failure of the spin.create() user function for the mol_name argument.
source code
 
test_create_pseudo_argfail_spin_name(self)
The spin_name arg test of the spin.create_pseudo() user function.
source code
 
test_create_pseudo_argfail_spin_num(self)
The spin_num arg test of the spin.create_pseudo() user function.
source code
 
test_create_pseudo_argfail_res_id(self)
The res_id arg test of the spin.create_pseudo() user function.
source code
 
test_create_pseudo_argfail_members(self)
The members arg test of the spin.create_pseudo() user function.
source code
 
test_create_pseudo_argfail_averaging(self)
The averaging arg test of the spin.create_pseudo() user function.
source code
 
test_delete_argfail_spin_id(self)
Test the proper failure of the spin.delete() user function for the spin_id argument.
source code
 
test_display_argfail_spin_id(self)
Test the proper failure of the spin.display() user function for the spin_id argument.
source code
 
test_name_argfail_spin_id(self)
Test the proper failure of the spin.name() user function for the spin_id argument.
source code
 
test_name_argfail_name(self)
Test the proper failure of the spin.name() user function for the name argument.
source code
 
test_number_argfail_spin_id(self)
Test the proper failure of the spin.number() user function for the spin_id argument.
source code
 
test_number_argfail_number(self)
Test the proper failure of the spin.number() user function for the number argument.
source code

Inherited from spin_testing_base.Spin_base_class: setUp, test_copy_spin, test_copy_spin_between_molecules, test_copy_spin_between_pipes, test_copy_spin_between_pipes_fail, test_copy_spin_between_residues, test_copy_spin_fail1, test_copy_spin_fail2, test_copy_spin_fail3, test_copy_spin_fail4, test_create_pseudo_spin, test_create_pseudo_spin2, test_create_spin, test_create_spin_fail, test_delete_spin_all, test_delete_spin_name, test_delete_spin_num, test_delete_spin_shift, test_display_spin, test_name_spin, test_name_spin_many, test_number_spin, test_number_spin_many_fail

Inherited from base_classes.UnitTestCase: tearDown

Inherited from unittest.case.TestCase: __call__, __eq__, __hash__, __ne__, __repr__, __str__, addCleanup, addTypeEqualityFunc, assertAlmostEqual, assertAlmostEquals, assertDictContainsSubset, assertDictEqual, assertEqual, assertEquals, assertFalse, assertGreater, assertGreaterEqual, assertIn, assertIs, assertIsInstance, assertIsNone, assertIsNot, assertIsNotNone, assertItemsEqual, assertLess, assertLessEqual, assertListEqual, assertMultiLineEqual, assertNotAlmostEqual, assertNotAlmostEquals, assertNotEqual, assertNotEquals, assertNotIn, assertNotIsInstance, assertNotRegexpMatches, assertRaises, assertRaisesRegexp, assertRegexpMatches, assertSequenceEqual, assertSetEqual, assertTrue, assertTupleEqual, assert_, countTestCases, debug, defaultTestResult, doCleanups, fail, failIf, failIfAlmostEqual, failIfEqual, failUnless, failUnlessAlmostEqual, failUnlessEqual, failUnlessRaises, id, run, shortDescription, skipTest

Inherited from unittest.case.TestCase (private): _addSkip, _baseAssertEqual, _deprecate, _formatMessage, _getAssertEqualityFunc, _truncateMessage

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Class Methods [hide private]

Inherited from unittest.case.TestCase: setUpClass, tearDownClass

Class Variables [hide private]

Inherited from unittest.case.TestCase: longMessage, maxDiff

Inherited from unittest.case.TestCase (private): _classSetupFailed, _diffThreshold

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, methodName=None)
(Constructor)

source code 

Set up the test case class for the system tests.

Overrides: object.__init__