Package test_suite :: Package gui_tests :: Module state :: Class State
[hide private]
[frames] | no frames]

Class State

source code


Class for testing various aspects specific to saved states.

Nested Classes [hide private]

Inherited from unittest.case.TestCase: failureException

Instance Methods [hide private]
 
__init__(self, methodName='runTest')
Skip certain tests due to wxPython bugs.
source code
 
test_bug_20480(self)
Catch bug #20480, the failure to load a relax state in the GUI.
source code
 
test_old_state_loading(self)
Test the loading of an old relax 1.3 save state with GUI information.
source code
 
test_load_state_no_gui(self)
Test the loading of a relax save state with no GUI data.
source code

Inherited from base_classes.GuiTestCase: check_exceptions, script_exec, setUp, tearDown

Inherited from base_classes.GuiTestCase (private): _execute_uf

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='runTest')
(Constructor)

source code 

Skip certain tests due to wxPython bugs.

Parameters:
  • methodName (str) - The name of the test.
Overrides: object.__init__

test_bug_20480(self)

source code 

Catch bug #20480, the failure to load a relax state in the GUI.

This was reported by Stanislava Panova.