Table of Contents

Class: TkTestRunner | Twisted-0.17.4/pyunit/unittestgui.py
--- | ---

An implementation of BaseGUITestRunner using Tkinter.

Base Classes |
--- | ---
BaseGUITestRunner

Methods |
--- | ---

createWidgets errorDialog getSelectedTestName initGUI notifyRunning notifyStopped notifyTestErrored | notifyTestFailed notifyTestFinished notifyTestStarted showAboutDialog showHelpDialog showSelectedError

| createWidgets

    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.

| errorDialog

    errorDialog (
            self,
            title,
            message,
            )

| getSelectedTestName

    getSelectedTestName ( self )

| initGUI

    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.

| notifyRunning

    notifyRunning ( self )

| notifyStopped

    notifyStopped ( self )

| notifyTestErrored

    notifyTestErrored (
            self,
            test,
            err,
            )

| notifyTestFailed

    notifyTestFailed (
            self,
            test,
            err,
            )

| notifyTestFinished

    notifyTestFinished ( self,  test )

| notifyTestStarted

    notifyTestStarted ( self,  test )

| showAboutDialog

    showAboutDialog ( self )

| showHelpDialog

    showHelpDialog ( self )

| showSelectedError

    showSelectedError ( self )

Table of Contents

This document was automatically generated on Sat Apr 20 01:30:45 2002 by HappyDoc version 2.0