sas.qtgui.Perspectives.Inversion.UnitTesting package¶
Submodules¶
sas.qtgui.Perspectives.Inversion.UnitTesting.InversionPerspectiveTest module¶
- class sas.qtgui.Perspectives.Inversion.UnitTesting.InversionPerspectiveTest.InversionTest¶
Bases:
object
Test the Inversion Perspective GUI
- __dict__ = mappingproxy({'__module__': 'sas.qtgui.Perspectives.Inversion.UnitTesting.InversionPerspectiveTest', '__doc__': ' Test the Inversion Perspective GUI ', 'widget': <function InversionTest.widget>, 'removeAllData': <function InversionTest.removeAllData>, 'baseGUIState': <function InversionTest.baseGUIState>, 'baseBatchState': <function InversionTest.baseBatchState>, 'zeroDataSetState': <function InversionTest.zeroDataSetState>, 'oneDataSetState': <function InversionTest.oneDataSetState>, 'twoDataSetState': <function InversionTest.twoDataSetState>, 'testDefaults': <function InversionTest.testDefaults>, 'notestAllowBatch': <function InversionTest.notestAllowBatch>, 'testSetData': <function InversionTest.testSetData>, 'testRemoveData': <function InversionTest.testRemoveData>, 'testClose': <function InversionTest.testClose>, 'testGetNFunc': <function InversionTest.testGetNFunc>, 'testSetCurrentData': <function InversionTest.testSetCurrentData>, 'testModelChanged': <function InversionTest.testModelChanged>, 'testOpenExplorerWindow': <function InversionTest.testOpenExplorerWindow>, 'testSerialization': <function InversionTest.testSerialization>, '__dict__': <attribute '__dict__' of 'InversionTest' objects>, '__weakref__': <attribute '__weakref__' of 'InversionTest' objects>, '__annotations__': {}})¶
- __doc__ = ' Test the Inversion Perspective GUI '¶
- __module__ = 'sas.qtgui.Perspectives.Inversion.UnitTesting.InversionPerspectiveTest'¶
- __weakref__¶
list of weak references to the object
- baseBatchState(widget)¶
Testing the base batch fitting state
- baseGUIState(widget)¶
Testing base state of Inversion
- notestAllowBatch(widget)¶
Batch P(r) Tests
- oneDataSetState(widget)¶
Testing the base data state of the GUI
- removeAllData(widget)¶
Cleanup method to restore widget to its base state
- testClose(widget)¶
Test methods related to closing the window
- testDefaults(widget)¶
Test the GUI in its default state
- testGetNFunc(widget, caplog)¶
test nfunc getter
- testModelChanged(widget)¶
Test setting the input and the model and vice-versa
- testOpenExplorerWindow(widget)¶
open Dx window
- testRemoveData(widget)¶
Test data removal from widget
- testSerialization(widget)¶
Serialization routines
- testSetCurrentData(widget)¶
test current data setter
- testSetData(widget)¶
Check if sending data works as expected
- twoDataSetState(widget)¶
Testing the base data state of the GUI
- widget(qapp, mocker)¶
Create/Destroy the InversionWindow
- zeroDataSetState(widget)¶
Testing the base data state of the GUI