GUI framework classes The classes BaseGUITestRunner, GUITestResult and RollbackImporter are taken from the PyUnit framework written by Steve Purcell. More...
Public Member Functions | |
def | errorDialog (self, title, message) |
def | getSelectedTestName (self) |
def | notifyRunning (self) |
def | notifyStopped (self) |
def | notifyTestErrored (self, test, err) |
def | notifyTestFailed (self, test, err) |
def | notifyTestFinished (self, test) |
def | notifyTestStarted (self, test) |
def | runClicked (self) |
def | stopClicked (self) |
Public Attributes | |
currentResult | |
running | |
totalTests | |
Detailed Description
GUI framework classes The classes BaseGUITestRunner, GUITestResult and RollbackImporter are taken from the PyUnit framework written by Steve Purcell.
For more details see also http://pyunit.sourceforge.net.
Subclass this class to create a GUI TestRunner that uses a specific windowing toolkit. The class takes care of running tests in the correct manner, and making callbacks to the derived class to obtain information or signal that events have occurred.
Member Function Documentation
◆ errorDialog()
def qtunittest.BaseGUITestRunner.errorDialog | ( | self, | |
title, | |||
message | |||
) |
Reimplemented in qtunittest.QtTestRunner.
◆ getSelectedTestName()
def qtunittest.BaseGUITestRunner.getSelectedTestName | ( | self | ) |
Reimplemented in qtunittest.QtTestRunner.
◆ notifyRunning()
def qtunittest.BaseGUITestRunner.notifyRunning | ( | self | ) |
Reimplemented in qtunittest.QtTestRunner.
◆ notifyStopped()
def qtunittest.BaseGUITestRunner.notifyStopped | ( | self | ) |
Reimplemented in qtunittest.QtTestRunner.
◆ notifyTestErrored()
def qtunittest.BaseGUITestRunner.notifyTestErrored | ( | self, | |
test, | |||
err | |||
) |
Reimplemented in qtunittest.QtTestRunner.
◆ notifyTestFailed()
def qtunittest.BaseGUITestRunner.notifyTestFailed | ( | self, | |
test, | |||
err | |||
) |
Reimplemented in qtunittest.QtTestRunner.
◆ notifyTestFinished()
def qtunittest.BaseGUITestRunner.notifyTestFinished | ( | self, | |
test | |||
) |
Override to indicate that a test has finished (it may already have failed or errored)
Reimplemented in qtunittest.QtTestRunner.
◆ notifyTestStarted()
def qtunittest.BaseGUITestRunner.notifyTestStarted | ( | self, | |
test | |||
) |
Reimplemented in qtunittest.QtTestRunner.
◆ runClicked()
def qtunittest.BaseGUITestRunner.runClicked | ( | self | ) |
Referenced by Mod.Test.unittestgui.TkTestRunner.createWidgets().
◆ stopClicked()
def qtunittest.BaseGUITestRunner.stopClicked | ( | self | ) |
References qtunittest.BaseGUITestRunner.currentResult.
Member Data Documentation
◆ currentResult
qtunittest.BaseGUITestRunner.currentResult |
◆ running
qtunittest.BaseGUITestRunner.running |
◆ totalTests
qtunittest.BaseGUITestRunner.totalTests |
The documentation for this class was generated from the following file:
- src/Mod/Test/Gui/qtunittest.py