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 138 of file CodeTest.py.
TestSupport.CodeTest.CodeTest.__init__ | ( | self, | |
cmakeFile = None, | |||
executable = None ) |
Definition at line 140 of file CodeTest.py.
References TestSupport.CodeTest.CodeTest.__infoDict, TestSupport.CodeTest.CodeTest.__testFunctionGroups, and TestSupport.CodeTest.CodeTest.__uniqueFunctionNames.
|
protected |
Definition at line 381 of file CodeTest.py.
References TestSupport.CodeTest.CodeTest._hasSanitizerSuppression().
Referenced by TestSupport.CodeTest.CodeTest._functionCode().
|
protected |
Definition at line 268 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 418 of file CodeTest.py.
References TestSupport.CodeTest.CodeTest._determineSanitizerSetUpCode(), and TestSupport.CodeTest.CodeTest.getExecutable().
Referenced by TestSupport.CodeTest.CodeTest.injectTestFunctions().
|
protected |
Definition at line 259 of file CodeTest.py.
Referenced by TestSupport.CodeTest.CodeTest._findExecutable(), and TestSupport.CodeTest.CodeTest.buildProject().
|
protected |
Definition at line 236 of file CodeTest.py.
Referenced by TestSupport.CodeTest.CodeTest.buildProject().
|
protected |
Definition at line 153 of file CodeTest.py.
|
protected |
Definition at line 357 of file CodeTest.py.
Referenced by TestSupport.CodeTest.CodeTest.injectTestFunctions().
|
protected |
Definition at line 368 of file CodeTest.py.
Referenced by TestSupport.CodeTest.CodeTest._determineSanitizerSetUpCode().
|
protected |
Definition at line 248 of file CodeTest.py.
|
protected |
Definition at line 307 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 220 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 217 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 182 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 166 of file CodeTest.py.
References TestSupport.CodeTest.CodeTest.__infoDict, and TestSupport.CodeTest.CodeTest.cmakeFile.
TestSupport.CodeTest.CodeTest.getTestFunctionGroups | ( | self | ) |
Definition at line 179 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 341 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 288 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 144 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 145 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 149 of file CodeTest.py.
Referenced by TestSupport.CodeTest.CodeTest._findExecutable(), and TestSupport.CodeTest.CodeTest.buildProject().