Mod.Test.unittestgui.BaseGUITestRunner Class Reference

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
 

Detailed Description

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.

Member Function Documentation

◆ errorDialog()

def Mod.Test.unittestgui.BaseGUITestRunner.errorDialog (   self,
  title,
  message 
)

◆ getSelectedTestName()

def Mod.Test.unittestgui.BaseGUITestRunner.getSelectedTestName (   self)

◆ notifyRunning()

def Mod.Test.unittestgui.BaseGUITestRunner.notifyRunning (   self)

◆ notifyStopped()

def Mod.Test.unittestgui.BaseGUITestRunner.notifyStopped (   self)

◆ notifyTestErrored()

def Mod.Test.unittestgui.BaseGUITestRunner.notifyTestErrored (   self,
  test,
  err 
)

◆ notifyTestFailed()

def Mod.Test.unittestgui.BaseGUITestRunner.notifyTestFailed (   self,
  test,
  err 
)

◆ notifyTestFinished()

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.

◆ notifyTestStarted()

def Mod.Test.unittestgui.BaseGUITestRunner.notifyTestStarted (   self,
  test 
)

◆ runClicked()

def Mod.Test.unittestgui.BaseGUITestRunner.runClicked (   self)

◆ stopClicked()

def Mod.Test.unittestgui.BaseGUITestRunner.stopClicked (   self)

Member Data Documentation

◆ currentResult

Mod.Test.unittestgui.BaseGUITestRunner.currentResult

◆ running

◆ totalTests


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