Table of Contents

Class: TkTestRunner Twisted-0.19.0/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 Sun Jul 14 19:52:29 2002 by HappyDoc version 2.0