unittestgui::BaseGUITestRunner Class Reference

Inheritance diagram for unittestgui::BaseGUITestRunner:
unittestgui::TkTestRunner

List of all members.

Public Member Functions

def __init__
def errorDialog
def getSelectedTestName
def notifyRunning
def notifyStopped
def notifyTestErrored
def notifyTestFailed
def notifyTestFinished
def notifyTestStarted
def runClicked
def stopClicked

Public Attributes

 currentResult
 running
 totalTests

Detailed Description

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.

Definition at line 44 of file unittestgui.py.


Member Function Documentation

def unittestgui::BaseGUITestRunner::__init__ (   self,
  args,
  kwargs 
)

Definition at line 50 of file unittestgui.py.

def unittestgui::BaseGUITestRunner::errorDialog (   self,
  title,
  message 
)

Reimplemented in unittestgui::TkTestRunner.

Definition at line 60 of file unittestgui.py.

def unittestgui::BaseGUITestRunner::getSelectedTestName (   self  ) 

Reimplemented in unittestgui::TkTestRunner.

Definition at line 56 of file unittestgui.py.

def unittestgui::BaseGUITestRunner::notifyRunning (   self  ) 

Reimplemented in unittestgui::TkTestRunner.

Definition at line 98 of file unittestgui.py.

def unittestgui::BaseGUITestRunner::notifyStopped (   self  ) 

Reimplemented in unittestgui::TkTestRunner.

Definition at line 102 of file unittestgui.py.

def unittestgui::BaseGUITestRunner::notifyTestErrored (   self,
  test,
  err 
)

Reimplemented in unittestgui::TkTestRunner.

Definition at line 110 of file unittestgui.py.

def unittestgui::BaseGUITestRunner::notifyTestFailed (   self,
  test,
  err 
)

Reimplemented in unittestgui::TkTestRunner.

Definition at line 106 of file unittestgui.py.

def unittestgui::BaseGUITestRunner::notifyTestFinished (   self,
  test 
)
Override to indicate that a test has finished (it may already have
   failed or errored)

Reimplemented in unittestgui::TkTestRunner.

Definition at line 118 of file unittestgui.py.

def unittestgui::BaseGUITestRunner::notifyTestStarted (   self,
  test 
)

Reimplemented in unittestgui::TkTestRunner.

Definition at line 114 of file unittestgui.py.

def unittestgui::BaseGUITestRunner::runClicked (   self  ) 

Definition at line 64 of file unittestgui.py.

def unittestgui::BaseGUITestRunner::stopClicked (   self  ) 

Definition at line 91 of file unittestgui.py.


Member Data Documentation

Definition at line 51 of file unittestgui.py.

Definition at line 52 of file unittestgui.py.

Definition at line 84 of file unittestgui.py.


The documentation for this class was generated from the following file:

Generated on Wed Nov 23 19:02:48 2011 for FreeCAD by  doxygen 1.6.1