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 | 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 | |
errorCountVar | |
errorInfo | |
failCountVar | |
gui | |
remainingCountVar | |
root | |
runCountVar | |
Public Attributes inherited from qtunittest.BaseGUITestRunner | |
currentResult | |
running | |
totalTests | |
An implementation of BaseGUITestRunner using Qt.
def qtunittest.QtTestRunner.errorDialog | ( | self, | |
title, | |||
message | |||
) |
Reimplemented from qtunittest.BaseGUITestRunner.
References qtunittest.QtTestRunner.errorDialog(), and qtunittest.QtTestRunner.gui.
Referenced by qtunittest.QtTestRunner.errorDialog().
def qtunittest.QtTestRunner.getSelectedTestName | ( | self | ) |
Reimplemented from qtunittest.BaseGUITestRunner.
References qtunittest.QtTestRunner.gui.
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.
def qtunittest.QtTestRunner.notifyRunning | ( | self | ) |
Reimplemented from qtunittest.BaseGUITestRunner.
References qtunittest.QtTestRunner.errorCountVar, Mod.Test.unittestgui.TkTestRunner.errorCountVar, qtunittest.QtTestRunner.failCountVar, Mod.Test.unittestgui.TkTestRunner.failCountVar, qtunittest.QtTestRunner.gui, qtunittest.QtTestRunner.remainingCountVar, Mod.Test.unittestgui.TkTestRunner.remainingCountVar, qtunittest.QtTestRunner.runCountVar, Mod.Test.unittestgui.TkTestRunner.runCountVar, qtunittest.BaseGUITestRunner.totalTests, and Mod.Test.unittestgui.BaseGUITestRunner.totalTests.
def qtunittest.QtTestRunner.notifyStopped | ( | self | ) |
Reimplemented from qtunittest.BaseGUITestRunner.
References qtunittest.QtTestRunner.gui.
def qtunittest.QtTestRunner.notifyTestErrored | ( | self, | |
test, | |||
err | |||
) |
def qtunittest.QtTestRunner.notifyTestFailed | ( | self, | |
test, | |||
err | |||
) |
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, Mod.Test.unittestgui.TkTestRunner.errorInfo, qtunittest.QtTestRunner.gui, qtunittest.QtTestRunner.remainingCountVar, Mod.Test.unittestgui.TkTestRunner.remainingCountVar, qtunittest.QtTestRunner.runCountVar, Mod.Test.unittestgui.TkTestRunner.runCountVar, qtunittest.BaseGUITestRunner.totalTests, and Mod.Test.unittestgui.BaseGUITestRunner.totalTests.
def qtunittest.QtTestRunner.notifyTestStarted | ( | self, | |
test | |||
) |
Reimplemented from qtunittest.BaseGUITestRunner.
References qtunittest.QtTestRunner.gui.
qtunittest.QtTestRunner.errorCountVar |
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().
qtunittest.QtTestRunner.failCountVar |
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().
qtunittest.QtTestRunner.remainingCountVar |
qtunittest.QtTestRunner.root |
qtunittest.QtTestRunner.runCountVar |