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 | |
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.
def qtunittest.BaseGUITestRunner.errorDialog | ( | self, | |
title, | |||
message | |||
) |
Reimplemented in qtunittest.QtTestRunner.
def qtunittest.BaseGUITestRunner.getSelectedTestName | ( | self | ) |
Reimplemented in qtunittest.QtTestRunner.
def qtunittest.BaseGUITestRunner.notifyRunning | ( | self | ) |
Reimplemented in qtunittest.QtTestRunner.
def qtunittest.BaseGUITestRunner.notifyStopped | ( | self | ) |
Reimplemented in qtunittest.QtTestRunner.
def qtunittest.BaseGUITestRunner.notifyTestErrored | ( | self, | |
test, | |||
err | |||
) |
Reimplemented in qtunittest.QtTestRunner.
def qtunittest.BaseGUITestRunner.notifyTestFailed | ( | self, | |
test, | |||
err | |||
) |
Reimplemented in qtunittest.QtTestRunner.
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.
def qtunittest.BaseGUITestRunner.notifyTestStarted | ( | self, | |
test | |||
) |
Reimplemented in qtunittest.QtTestRunner.
def qtunittest.BaseGUITestRunner.runClicked | ( | self | ) |
def qtunittest.BaseGUITestRunner.stopClicked | ( | self | ) |
qtunittest.BaseGUITestRunner.currentResult |
qtunittest.BaseGUITestRunner.running |
Referenced by draftguitools.gui_edit.Edit.Activated(), draftguitools.gui_wire2spline.WireToBSpline.Activated(), draftguitools.gui_edit.Edit.finish(), draftguitools.gui_offset.Offset.finish(), draftguitools.gui_snapper.Snapper.off(), ArchNesting.Nester.run(), draftguitools.gui_snapper.Snapper.snap(), draftguitools.gui_snapper.Snapper.snapToObject(), femsolver.task.Task.start(), ArchNesting.Nester.stop(), and ArchNesting.Nester.update().
qtunittest.BaseGUITestRunner.totalTests |