TestCenter Reference
TestHelper.py File Reference

Go to the source code of this file.

Classes

class  TestSupport.TestHelper.SetLoggingCallerStackFrame
 
class  TestSupport.TestHelper.SuppressedErrors
 
class  TestSupport.TestHelper.SuppressedWarnings
 
class  TestSupport.TestHelper.ExpectInfos
 
class  TestSupport.TestHelper.TC_ChangeSet
 
class  TestSupport.TestHelper.CancelTestException
 
class  TestSupport.TestHelper.TestHelper
 Singleton for important helper facilities for the different tests. More...
 

Namespaces

 TestSupport.TestHelper
 
 TestHelper
 A singleton to provide important data for the testing process.
 

Functions

def TestSupport.TestHelper.takeCurrentSpecialMessage ()
 
def TestSupport.TestHelper.emitSpecialMessage (loggingMethod, file, line, type, message, escapeHtml=True, formattedStack='')
 
def TestSupport.TestHelper.emitSpecialCommand (file, line, type, fileList, message, escapeHtml=True)
 
def TestSupport.TestHelper.UseStackFrameFromCallerForLogging (func)
 
def TestSupport.TestHelper.regexpToString (exp)
 

Variables

string TestSupport.TestHelper.gCurrentSpecialMessage = ""
 
string TestSupport.TestHelper.gSpecialMessageMarker = "<MLAB TC=1/>"
 
bool TestSupport.TestHelper.gEnablePrettyLogging = False
 
bool TestSupport.TestHelper.gLogInfoMessages = True
 
def TestSupport.TestHelper.IncreaseLoggingStackDepthDecorator = UseStackFrameFromCallerForLogging