Mod.Test.unittestgui.BaseGUITestRunner Class Reference
GUI framework classes. 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.
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 Mod.Test.unittestgui.BaseGUITestRunner.errorDialog | ( | self, | |
title, | |||
message | |||
) |
Reimplemented in Mod.Test.unittestgui.TkTestRunner.
◆ getSelectedTestName()
def Mod.Test.unittestgui.BaseGUITestRunner.getSelectedTestName | ( | self | ) |
Reimplemented in Mod.Test.unittestgui.TkTestRunner.
◆ notifyRunning()
def Mod.Test.unittestgui.BaseGUITestRunner.notifyRunning | ( | self | ) |
Reimplemented in Mod.Test.unittestgui.TkTestRunner.
◆ notifyStopped()
def Mod.Test.unittestgui.BaseGUITestRunner.notifyStopped | ( | self | ) |
Reimplemented in Mod.Test.unittestgui.TkTestRunner.
◆ notifyTestErrored()
def Mod.Test.unittestgui.BaseGUITestRunner.notifyTestErrored | ( | self, | |
test, | |||
err | |||
) |
Reimplemented in Mod.Test.unittestgui.TkTestRunner.
◆ notifyTestFailed()
def Mod.Test.unittestgui.BaseGUITestRunner.notifyTestFailed | ( | self, | |
test, | |||
err | |||
) |
Reimplemented in Mod.Test.unittestgui.TkTestRunner.
◆ notifyTestFinished()
def Mod.Test.unittestgui.BaseGUITestRunner.notifyTestFinished | ( | self, | |
test | |||
) |
Override to indicate that a test has finished (it may already have failed or errored)
Reimplemented in Mod.Test.unittestgui.TkTestRunner.
◆ notifyTestStarted()
def Mod.Test.unittestgui.BaseGUITestRunner.notifyTestStarted | ( | self, | |
test | |||
) |
Reimplemented in Mod.Test.unittestgui.TkTestRunner.
◆ runClicked()
def Mod.Test.unittestgui.BaseGUITestRunner.runClicked | ( | self | ) |
Referenced by Mod.Test.unittestgui.TkTestRunner.createWidgets().
◆ stopClicked()
def Mod.Test.unittestgui.BaseGUITestRunner.stopClicked | ( | self | ) |
Member Data Documentation
◆ currentResult
Mod.Test.unittestgui.BaseGUITestRunner.currentResult |
Referenced by Mod.Test.unittestgui.BaseGUITestRunner.stopClicked().
◆ running
Mod.Test.unittestgui.BaseGUITestRunner.running |
◆ totalTests
Mod.Test.unittestgui.BaseGUITestRunner.totalTests |
The documentation for this class was generated from the following file:
- src/Mod/Test/unittestgui.py