|
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 = cmakeFile | |
| executable = executable | |
| name = self._parseCMakeFile(cmakeFile) | |
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 __infoDict, __testFunctionGroups, and __uniqueFunctionNames.
|
protected |
Definition at line 381 of file CodeTest.py.
References _hasSanitizerSuppression().
Referenced by _functionCode().
|
protected |
Definition at line 268 of file CodeTest.py.
References __appendSuffix(), _getBuildRoot(), cmakeFile, TestCenterAdvanced.Config.ReportConfig.name, TestCenterAdvanced.Master.ProgressTestCase.name, name, TestSupport.CodeTest.TestFunction.name, and TestSupport.CodeTest.TestFunctionGroup.name.
Referenced by getExecutable().
|
protected |
Definition at line 418 of file CodeTest.py.
References _determineSanitizerSetUpCode(), and getExecutable().
Referenced by injectTestFunctions().
|
protected |
Definition at line 259 of file CodeTest.py.
Referenced by _findExecutable(), and buildProject().
|
protected |
Definition at line 236 of file CodeTest.py.
Referenced by buildProject().
|
protected |
Definition at line 153 of file CodeTest.py.
|
protected |
Definition at line 357 of file CodeTest.py.
Referenced by injectTestFunctions().
|
protected |
Definition at line 368 of file CodeTest.py.
Referenced by _determineSanitizerSetUpCode().
|
protected |
Definition at line 248 of file CodeTest.py.
|
protected |
Definition at line 307 of file CodeTest.py.
References __getUniqueFunctionName(), __testFunctionGroups, and __uniqueFunctionNames.
Referenced by loadTestFunctions().
| TestSupport.CodeTest.CodeTest.buildProject | ( | self | ) |
Definition at line 220 of file CodeTest.py.
References __searchedExecutable, _getBuildRoot(), _getError(), executable, existsExecutable(), TestCenterAdvanced.Config.ReportConfig.name, TestCenterAdvanced.Master.ProgressTestCase.name, name, TestSupport.CodeTest.TestFunction.name, and TestSupport.CodeTest.TestFunctionGroup.name.
Referenced by loadTestFunctions().
| TestSupport.CodeTest.CodeTest.existsExecutable | ( | self | ) |
Definition at line 217 of file CodeTest.py.
References __executableExists(), and getExecutable().
Referenced by buildProject(), and loadTestFunctions().
| TestSupport.CodeTest.CodeTest.getExecutable | ( | self | ) |
Definition at line 182 of file CodeTest.py.
References __appendSuffix(), __executableExists(), __searchedExecutable, _findExecutable(), and executable.
Referenced by _functionCode(), and existsExecutable().
| TestSupport.CodeTest.CodeTest.getInfoDict | ( | self | ) |
Definition at line 166 of file CodeTest.py.
References __infoDict, and cmakeFile.
| TestSupport.CodeTest.CodeTest.getTestFunctionGroups | ( | self | ) |
Definition at line 179 of file CodeTest.py.
References __testFunctionGroups.
Referenced by injectTestFunctions().
| TestSupport.CodeTest.CodeTest.injectTestFunctions | ( | self, | |
| context, | |||
| allowedStdErrRegExp = None ) |
Definition at line 341 of file CodeTest.py.
References _functionCode(), _groupCode(), getTestFunctionGroups(), and loadTestFunctions().
| TestSupport.CodeTest.CodeTest.loadTestFunctions | ( | self | ) |
Definition at line 288 of file CodeTest.py.
References __uniqueFunctionNames, _parseTestFunctionsFromOutput(), buildProject(), cmakeFile, executable, and existsExecutable().
Referenced by injectTestFunctions().
| TestSupport.CodeTest.CodeTest.cmakeFile = cmakeFile |
Definition at line 144 of file CodeTest.py.
Referenced by _findExecutable(), getInfoDict(), and loadTestFunctions().
| TestSupport.CodeTest.CodeTest.executable = executable |
Definition at line 145 of file CodeTest.py.
Referenced by buildProject(), getExecutable(), and loadTestFunctions().
| TestSupport.CodeTest.CodeTest.name = self._parseCMakeFile(cmakeFile) |
Definition at line 149 of file CodeTest.py.
Referenced by _findExecutable(), and buildProject().