TestCenter 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) | |
Definition at line 128 of file CodeTest.py.
TestSupport.CodeTest.CodeTest.__init__ | ( | self, | |
cmakeFile = None, | |||
executable = None ) |
Definition at line 130 of file CodeTest.py.
References TestSupport.CodeTest.CodeTest.__infoDict, TestSupport.CodeTest.CodeTest.__testFunctionGroups, and TestSupport.CodeTest.CodeTest.__uniqueFunctionNames.
|
protected |
Definition at line 351 of file CodeTest.py.
References TestSupport.CodeTest.CodeTest._hasSanitizerSuppression().
Referenced by TestSupport.CodeTest.CodeTest._functionCode().
|
protected |
Definition at line 252 of file CodeTest.py.
References TestSupport.CodeTest.CodeTest.__appendSuffix(), TestSupport.CodeTest.CodeTest._getBuildRoot(), TestSupport.CodeTest.CodeTest.cmakeFile, TestCenterAdvanced.Config.ReportConfig.name, TestCenterAdvanced.Master.ProgressTestCase.name, TestSupport.CodeTest.TestFunctionGroup.name, TestSupport.CodeTest.TestFunction.name, and TestSupport.CodeTest.CodeTest.name.
Referenced by TestSupport.CodeTest.CodeTest.getExecutable().
|
protected |
Definition at line 384 of file CodeTest.py.
References TestSupport.CodeTest.CodeTest._determineSanitizerSetUpCode(), and TestSupport.CodeTest.CodeTest.getExecutable().
Referenced by TestSupport.CodeTest.CodeTest.injectTestFunctions().
|
protected |
Definition at line 245 of file CodeTest.py.
Referenced by TestSupport.CodeTest.CodeTest._findExecutable(), and TestSupport.CodeTest.CodeTest.buildProject().
|
protected |
Definition at line 224 of file CodeTest.py.
Referenced by TestSupport.CodeTest.CodeTest.buildProject().
|
protected |
Definition at line 143 of file CodeTest.py.
|
protected |
Definition at line 336 of file CodeTest.py.
Referenced by TestSupport.CodeTest.CodeTest.injectTestFunctions().
|
protected |
Definition at line 345 of file CodeTest.py.
Referenced by TestSupport.CodeTest.CodeTest._determineSanitizerSetUpCode().
|
protected |
Definition at line 234 of file CodeTest.py.
|
protected |
Definition at line 286 of file CodeTest.py.
References TestSupport.CodeTest.CodeTest.__getUniqueFunctionName(), TestSupport.CodeTest.CodeTest.__testFunctionGroups, and TestSupport.CodeTest.CodeTest.__uniqueFunctionNames.
Referenced by TestSupport.CodeTest.CodeTest.loadTestFunctions().
TestSupport.CodeTest.CodeTest.buildProject | ( | self | ) |
Definition at line 208 of file CodeTest.py.
References TestSupport.CodeTest.CodeTest.__searchedExecutable, TestSupport.CodeTest.CodeTest._getBuildRoot(), TestSupport.CodeTest.CodeTest._getError(), TestSupport.CodeTest.CodeTest.executable, TestSupport.CodeTest.CodeTest.existsExecutable(), TestCenterAdvanced.Config.ReportConfig.name, TestCenterAdvanced.Master.ProgressTestCase.name, TestSupport.CodeTest.TestFunctionGroup.name, TestSupport.CodeTest.TestFunction.name, and TestSupport.CodeTest.CodeTest.name.
Referenced by TestSupport.CodeTest.CodeTest.loadTestFunctions().
TestSupport.CodeTest.CodeTest.existsExecutable | ( | self | ) |
Definition at line 205 of file CodeTest.py.
References TestSupport.CodeTest.CodeTest.__executableExists(), and TestSupport.CodeTest.CodeTest.getExecutable().
Referenced by TestSupport.CodeTest.CodeTest.buildProject(), and TestSupport.CodeTest.CodeTest.loadTestFunctions().
TestSupport.CodeTest.CodeTest.getExecutable | ( | self | ) |
Definition at line 170 of file CodeTest.py.
References TestSupport.CodeTest.CodeTest.__appendSuffix(), TestSupport.CodeTest.CodeTest.__executableExists(), TestSupport.CodeTest.CodeTest.__searchedExecutable, TestSupport.CodeTest.CodeTest._findExecutable(), and TestSupport.CodeTest.CodeTest.executable.
Referenced by TestSupport.CodeTest.CodeTest._functionCode(), and TestSupport.CodeTest.CodeTest.existsExecutable().
TestSupport.CodeTest.CodeTest.getInfoDict | ( | self | ) |
Definition at line 156 of file CodeTest.py.
References TestSupport.CodeTest.CodeTest.__infoDict, and TestSupport.CodeTest.CodeTest.cmakeFile.
TestSupport.CodeTest.CodeTest.getTestFunctionGroups | ( | self | ) |
Definition at line 167 of file CodeTest.py.
References TestSupport.CodeTest.CodeTest.__testFunctionGroups.
Referenced by TestSupport.CodeTest.CodeTest.injectTestFunctions().
TestSupport.CodeTest.CodeTest.injectTestFunctions | ( | self, | |
context, | |||
allowedStdErrRegExp = None ) |
Definition at line 320 of file CodeTest.py.
References TestSupport.CodeTest.CodeTest._functionCode(), TestSupport.CodeTest.CodeTest._groupCode(), TestSupport.CodeTest.CodeTest.getTestFunctionGroups(), and TestSupport.CodeTest.CodeTest.loadTestFunctions().
TestSupport.CodeTest.CodeTest.loadTestFunctions | ( | self | ) |
Definition at line 267 of file CodeTest.py.
References TestSupport.CodeTest.CodeTest.__uniqueFunctionNames, TestSupport.CodeTest.CodeTest._parseTestFunctionsFromOutput(), TestSupport.CodeTest.CodeTest.buildProject(), TestSupport.CodeTest.CodeTest.cmakeFile, TestSupport.CodeTest.CodeTest.executable, and TestSupport.CodeTest.CodeTest.existsExecutable().
Referenced by TestSupport.CodeTest.CodeTest.injectTestFunctions().
TestSupport.CodeTest.CodeTest.cmakeFile |
Definition at line 134 of file CodeTest.py.
Referenced by TestSupport.CodeTest.CodeTest._findExecutable(), TestSupport.CodeTest.CodeTest.getInfoDict(), and TestSupport.CodeTest.CodeTest.loadTestFunctions().
TestSupport.CodeTest.CodeTest.executable |
Definition at line 135 of file CodeTest.py.
Referenced by TestSupport.CodeTest.CodeTest.buildProject(), TestSupport.CodeTest.CodeTest.getExecutable(), and TestSupport.CodeTest.CodeTest.loadTestFunctions().
TestSupport.CodeTest.CodeTest.name |
Definition at line 139 of file CodeTest.py.
Referenced by TestSupport.CodeTest.CodeTest._findExecutable(), and TestSupport.CodeTest.CodeTest.buildProject().