TestCenter Reference
TestSupport.CodeTest.CodeTest Class Reference

Public Member Functions

 __init__ (self, cmakeFile=None, executable=None)
 
 getInfoDict (self)
 
 getTestFunctionGroups (self)
 
 getExecutable (self)
 
 existsExecutable (self)
 
 buildProject (self)
 
 loadTestFunctions (self)
 
 injectTestFunctions (self, context, allowedStdErrRegExp=None)
 

Public Attributes

 cmakeFile
 
 executable
 
 name
 

Protected Member Functions

 _getUniqueTestCaseName (self, name)
 
 _getError (self, result)
 
 _parseCMakeFile (self, cmakeFile)
 
 _getBuildRoot (self)
 
 _findExecutable (self)
 
 _parseTestFunctionsFromOutput (self, output)
 
 _groupCode (self, group)
 
 _hasSanitizerSuppression (self, sanitizerPrefix, envVar, compilerVersion)
 
 _determineSanitizerSetUpCode (self)
 
 _functionCode (self, group, function, allowedStdErrRegExp=None)
 

Detailed Description

Definition at line 128 of file CodeTest.py.

Constructor & Destructor Documentation

◆ __init__()

TestSupport.CodeTest.CodeTest.__init__ ( self,
cmakeFile = None,
executable = None )

Member Function Documentation

◆ _determineSanitizerSetUpCode()

TestSupport.CodeTest.CodeTest._determineSanitizerSetUpCode ( self)
protected

◆ _findExecutable()

◆ _functionCode()

TestSupport.CodeTest.CodeTest._functionCode ( self,
group,
function,
allowedStdErrRegExp = None )
protected

◆ _getBuildRoot()

TestSupport.CodeTest.CodeTest._getBuildRoot ( self)
protected

◆ _getError()

TestSupport.CodeTest.CodeTest._getError ( self,
result )
protected

Definition at line 224 of file CodeTest.py.

Referenced by TestSupport.CodeTest.CodeTest.buildProject().

◆ _getUniqueTestCaseName()

TestSupport.CodeTest.CodeTest._getUniqueTestCaseName ( self,
name )
protected

Definition at line 143 of file CodeTest.py.

◆ _groupCode()

TestSupport.CodeTest.CodeTest._groupCode ( self,
group )
protected

Definition at line 336 of file CodeTest.py.

Referenced by TestSupport.CodeTest.CodeTest.injectTestFunctions().

◆ _hasSanitizerSuppression()

TestSupport.CodeTest.CodeTest._hasSanitizerSuppression ( self,
sanitizerPrefix,
envVar,
compilerVersion )
protected

◆ _parseCMakeFile()

TestSupport.CodeTest.CodeTest._parseCMakeFile ( self,
cmakeFile )
protected

Definition at line 234 of file CodeTest.py.

◆ _parseTestFunctionsFromOutput()

TestSupport.CodeTest.CodeTest._parseTestFunctionsFromOutput ( self,
output )
protected

◆ buildProject()

◆ existsExecutable()

◆ getExecutable()

◆ getInfoDict()

TestSupport.CodeTest.CodeTest.getInfoDict ( self)

◆ getTestFunctionGroups()

TestSupport.CodeTest.CodeTest.getTestFunctionGroups ( self)

◆ injectTestFunctions()

TestSupport.CodeTest.CodeTest.injectTestFunctions ( self,
context,
allowedStdErrRegExp = None )

◆ loadTestFunctions()

Member Data Documentation

◆ cmakeFile

◆ executable

◆ name

TestSupport.CodeTest.CodeTest.name

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