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 | |
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.
def Mod.Test.unittestgui.BaseGUITestRunner.errorDialog | ( | self, | |
title, | |||
message | |||
) |
Reimplemented in Mod.Test.unittestgui.TkTestRunner.
def Mod.Test.unittestgui.BaseGUITestRunner.getSelectedTestName | ( | self | ) |
Reimplemented in Mod.Test.unittestgui.TkTestRunner.
def Mod.Test.unittestgui.BaseGUITestRunner.notifyRunning | ( | self | ) |
Reimplemented in Mod.Test.unittestgui.TkTestRunner.
def Mod.Test.unittestgui.BaseGUITestRunner.notifyStopped | ( | self | ) |
Reimplemented in Mod.Test.unittestgui.TkTestRunner.
def Mod.Test.unittestgui.BaseGUITestRunner.notifyTestErrored | ( | self, | |
test, | |||
err | |||
) |
Reimplemented in Mod.Test.unittestgui.TkTestRunner.
def Mod.Test.unittestgui.BaseGUITestRunner.notifyTestFailed | ( | self, | |
test, | |||
err | |||
) |
Reimplemented in Mod.Test.unittestgui.TkTestRunner.
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.
def Mod.Test.unittestgui.BaseGUITestRunner.notifyTestStarted | ( | self, | |
test | |||
) |
Reimplemented in Mod.Test.unittestgui.TkTestRunner.
def Mod.Test.unittestgui.BaseGUITestRunner.runClicked | ( | self | ) |
def Mod.Test.unittestgui.BaseGUITestRunner.stopClicked | ( | self | ) |
Mod.Test.unittestgui.BaseGUITestRunner.currentResult |
Mod.Test.unittestgui.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().
Mod.Test.unittestgui.BaseGUITestRunner.totalTests |