Public Member Functions | |
def | errorDialog (self, title, message) |
def | getSelectedTestName (self) |
def | initGUI (self, root, initialTestName) |
def | notifyRunning (self) |
def | notifyStopped (self) |
def | notifyTestErrored (self, test, err) |
def | notifyTestFailed (self, test, err) |
def | notifyTestFinished (self, test) |
def | notifyTestStarted (self, test) |
Public Member Functions inherited from qtunittest.BaseGUITestRunner | |
def | runClicked (self) |
def | stopClicked (self) |
Public Attributes | |
errorCountVar | |
errorInfo | |
failCountVar | |
gui | |
remainingCountVar | |
root | |
runCountVar | |
Public Attributes inherited from qtunittest.BaseGUITestRunner | |
currentResult | |
running | |
totalTests | |
Detailed Description
An implementation of BaseGUITestRunner using Qt.
Member Function Documentation
◆ errorDialog()
def qtunittest.QtTestRunner.errorDialog | ( | self, | |
title, | |||
message | |||
) |
Reimplemented from qtunittest.BaseGUITestRunner.
References qtunittest.QtTestRunner.gui.
◆ getSelectedTestName()
def qtunittest.QtTestRunner.getSelectedTestName | ( | self | ) |
Reimplemented from qtunittest.BaseGUITestRunner.
References qtunittest.QtTestRunner.gui.
◆ initGUI()
def qtunittest.QtTestRunner.initGUI | ( | self, | |
root, | |||
initialTestName | |||
) |
Set up the GUI inside the given root window. The test name entry field will be pre-filled with the given initialTestName.
◆ notifyRunning()
def qtunittest.QtTestRunner.notifyRunning | ( | self | ) |
◆ notifyStopped()
def qtunittest.QtTestRunner.notifyStopped | ( | self | ) |
Reimplemented from qtunittest.BaseGUITestRunner.
References qtunittest.QtTestRunner.gui.
◆ notifyTestErrored()
def qtunittest.QtTestRunner.notifyTestErrored | ( | self, | |
test, | |||
err | |||
) |
Reimplemented from qtunittest.BaseGUITestRunner.
References qtunittest.QtTestRunner.errorCountVar, qtunittest.QtTestRunner.errorInfo, and qtunittest.QtTestRunner.gui.
◆ notifyTestFailed()
def qtunittest.QtTestRunner.notifyTestFailed | ( | self, | |
test, | |||
err | |||
) |
Reimplemented from qtunittest.BaseGUITestRunner.
References qtunittest.QtTestRunner.errorInfo, qtunittest.QtTestRunner.failCountVar, and qtunittest.QtTestRunner.gui.
◆ notifyTestFinished()
def qtunittest.QtTestRunner.notifyTestFinished | ( | self, | |
test | |||
) |
Override to indicate that a test has finished (it may already have failed or errored)
Reimplemented from qtunittest.BaseGUITestRunner.
References qtunittest.QtTestRunner.errorInfo, qtunittest.QtTestRunner.gui, qtunittest.QtTestRunner.remainingCountVar, qtunittest.QtTestRunner.runCountVar, and qtunittest.BaseGUITestRunner.totalTests.
◆ notifyTestStarted()
def qtunittest.QtTestRunner.notifyTestStarted | ( | self, | |
test | |||
) |
Reimplemented from qtunittest.BaseGUITestRunner.
References qtunittest.QtTestRunner.gui.
Member Data Documentation
◆ errorCountVar
qtunittest.QtTestRunner.errorCountVar |
◆ errorInfo
qtunittest.QtTestRunner.errorInfo |
Referenced by qtunittest.QtTestRunner.notifyTestErrored(), Mod.Test.unittestgui.TkTestRunner.notifyTestErrored(), qtunittest.QtTestRunner.notifyTestFailed(), Mod.Test.unittestgui.TkTestRunner.notifyTestFailed(), qtunittest.QtTestRunner.notifyTestFinished(), Mod.Test.unittestgui.TkTestRunner.notifyTestFinished(), and Mod.Test.unittestgui.TkTestRunner.showSelectedError().
◆ failCountVar
qtunittest.QtTestRunner.failCountVar |
◆ gui
qtunittest.QtTestRunner.gui |
Referenced by qtunittest.QtTestRunner.errorDialog(), qtunittest.QtTestRunner.getSelectedTestName(), qtunittest.QtTestRunner.notifyRunning(), qtunittest.QtTestRunner.notifyStopped(), qtunittest.QtTestRunner.notifyTestErrored(), qtunittest.QtTestRunner.notifyTestFailed(), qtunittest.QtTestRunner.notifyTestFinished(), and qtunittest.QtTestRunner.notifyTestStarted().
◆ remainingCountVar
qtunittest.QtTestRunner.remainingCountVar |
◆ root
qtunittest.QtTestRunner.root |
◆ runCountVar
qtunittest.QtTestRunner.runCountVar |
The documentation for this class was generated from the following file:
- src/Mod/Test/Gui/qtunittest.py