Public Member Functions | |
def | createWidgets |
def | errorDialog |
def | getSelectedTestName |
def | initGUI |
def | notifyRunning |
def | notifyStopped |
def | notifyTestErrored |
def | notifyTestFailed |
def | notifyTestFinished |
def | notifyTestStarted |
def | showAboutDialog |
def | showHelpDialog |
def | showSelectedError |
Public Attributes | |
errorCountVar | |
errorInfo | |
errorListbox | |
failCountVar | |
progressBar | |
remainingCountVar | |
root | |
runCountVar | |
statusVar | |
stopGoButton | |
suiteNameVar | |
top |
An implementation of BaseGUITestRunner using Tkinter.
Definition at line 188 of file unittestgui.py.
def unittestgui::TkTestRunner::createWidgets | ( | self | ) |
Creates and packs the various widgets. Why is it that GUI code always ends up looking a mess, despite all the best intentions to keep it tidy? Answers on a postcard, please.
Definition at line 209 of file unittestgui.py.
def unittestgui::TkTestRunner::errorDialog | ( | self, | ||
title, | ||||
message | ||||
) |
Reimplemented from unittestgui::BaseGUITestRunner.
Definition at line 281 of file unittestgui.py.
def unittestgui::TkTestRunner::getSelectedTestName | ( | self | ) |
Reimplemented from unittestgui::BaseGUITestRunner.
Definition at line 278 of file unittestgui.py.
def unittestgui::TkTestRunner::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.
Definition at line 191 of file unittestgui.py.
def unittestgui::TkTestRunner::notifyRunning | ( | self | ) |
Reimplemented from unittestgui::BaseGUITestRunner.
Definition at line 285 of file unittestgui.py.
def unittestgui::TkTestRunner::notifyStopped | ( | self | ) |
Reimplemented from unittestgui::BaseGUITestRunner.
Definition at line 299 of file unittestgui.py.
def unittestgui::TkTestRunner::notifyTestErrored | ( | self, | ||
test, | ||||
err | ||||
) |
Reimplemented from unittestgui::BaseGUITestRunner.
Definition at line 313 of file unittestgui.py.
def unittestgui::TkTestRunner::notifyTestFailed | ( | self, | ||
test, | ||||
err | ||||
) |
Reimplemented from unittestgui::BaseGUITestRunner.
Definition at line 308 of file unittestgui.py.
def unittestgui::TkTestRunner::notifyTestFinished | ( | self, | ||
test | ||||
) |
Override to indicate that a test has finished (it may already have failed or errored)
Reimplemented from unittestgui::BaseGUITestRunner.
Definition at line 318 of file unittestgui.py.
def unittestgui::TkTestRunner::notifyTestStarted | ( | self, | ||
test | ||||
) |
Reimplemented from unittestgui::BaseGUITestRunner.
Definition at line 304 of file unittestgui.py.
def unittestgui::TkTestRunner::showAboutDialog | ( | self | ) |
Definition at line 325 of file unittestgui.py.
def unittestgui::TkTestRunner::showHelpDialog | ( | self | ) |
Definition at line 329 of file unittestgui.py.
def unittestgui::TkTestRunner::showSelectedError | ( | self | ) |
Definition at line 333 of file unittestgui.py.
Definition at line 203 of file unittestgui.py.
Definition at line 290 of file unittestgui.py.
Definition at line 266 of file unittestgui.py.
Definition at line 202 of file unittestgui.py.
Definition at line 235 of file unittestgui.py.
Definition at line 204 of file unittestgui.py.
Definition at line 195 of file unittestgui.py.
Definition at line 201 of file unittestgui.py.
Definition at line 199 of file unittestgui.py.
Definition at line 242 of file unittestgui.py.
Definition at line 197 of file unittestgui.py.
Definition at line 205 of file unittestgui.py.