|
TestCenter Reference
|
Static Public Member Functions | |
| nodeHasValidText (node) | |
| getBoolean (node, default, attributeName) | |
| getInteger (node, default, attributeName) | |
| findMLABExecutable (basePath, executableName, subPath) | |
| Searches for the executable in the basePath and all levels of the provided subPath in a 'deepest first' manner. | |
| TestCenterAdvanced.Config.Configuration.__init__ | ( | self, | |
| filePath = None, | |||
| autoSave = True, | |||
| isTestCaseManager = False ) |
Loads configuration from given file or creates configuration with default values.
If a configuration is created and autoSave is True then the configuration is automatically saved. Otherwise, you have to save is explicitly.
Definition at line 97 of file Config.py.
References __configFilePath, __defaultTestTimeoutSeconds, __ipcConnectionTimeout, __load(), __maxTestTimeoutSeconds, __MLABArguments, __MLABCompileMode, __MLABCurrentExecutablePath, __MLABExecutablePath, __MLABSlaveLogFileName, __MLABUseCurrent, __mMLABRestartInterval, __pythonCoverageExclusionExpressions, __pythonCoverageInclusionExpressions, __report, __resultOutputDirectory, __shouldReloadPythonModulesWhenReloadingTestCases, __useBullseyeCoverage, __useGlobalPythonCoverage, __usePythonCoverage, __xmlResultFileName, fetchCoverageSettings(), fetchIPCSettings(), fetchMLABSettings(), fetchReportSettings(), fetchTestCaseManagerSettings(), getConfigFilePath(), getMLABBinariesPath(), and save().
| TestCenterAdvanced.Config.Configuration.appendTestCaseNameToReportName | ( | self | ) |
| TestCenterAdvanced.Config.Configuration.appendTimestampToReportName | ( | self | ) |
| TestCenterAdvanced.Config.Configuration.collapseFunctions | ( | self | ) |
| TestCenterAdvanced.Config.Configuration.fetchBullseyeCoverageSettings | ( | self, | |
| coverageNode ) |
Definition at line 359 of file Config.py.
References fetchUseBullseyeCoverage().
Referenced by fetchCoverageSettings().
| TestCenterAdvanced.Config.Configuration.fetchCoverageSettings | ( | self, | |
| xmlRoot ) |
Definition at line 353 of file Config.py.
References fetchBullseyeCoverageSettings(), and fetchPythonCoverageSettings().
Referenced by __init__().
| TestCenterAdvanced.Config.Configuration.fetchIPCSettings | ( | self, | |
| xmlRoot ) |
Definition at line 401 of file Config.py.
References __ipcConnectionTimeout, and nodeHasValidText().
Referenced by __init__().
| TestCenterAdvanced.Config.Configuration.fetchMLABSettings | ( | self, | |
| xmlRoot ) |
Definition at line 232 of file Config.py.
References __defaultTestTimeoutSeconds, __maxTestTimeoutSeconds, __MLABArguments, __MLABCompileMode, __MLABExecutablePath, __MLABSlaveLogFileName, __MLABUseCurrent, __mMLABRestartInterval, __resultOutputDirectory, __xmlResultFileName, and nodeHasValidText().
Referenced by __init__().
| TestCenterAdvanced.Config.Configuration.fetchPythonCoverageExclusionExpressions | ( | self, | |
| coverageNode ) |
Definition at line 381 of file Config.py.
References __pythonCoverageExclusionExpressions.
Referenced by fetchPythonCoverageSettings().
| TestCenterAdvanced.Config.Configuration.fetchPythonCoverageInclusionExpressions | ( | self, | |
| coverageNode ) |
Definition at line 391 of file Config.py.
References __pythonCoverageInclusionExpressions.
Referenced by fetchPythonCoverageSettings().
| TestCenterAdvanced.Config.Configuration.fetchPythonCoverageSettings | ( | self, | |
| coverageNode ) |
Definition at line 367 of file Config.py.
References fetchPythonCoverageExclusionExpressions(), fetchPythonCoverageInclusionExpressions(), fetchUseGlobalPythonCoverage(), and fetchUsePythonCoverage().
Referenced by fetchCoverageSettings().
| TestCenterAdvanced.Config.Configuration.fetchReportNodeSettings | ( | self, | |
| xmlRoot ) |
Definition at line 295 of file Config.py.
References __report, getBoolean(), and getInteger().
Referenced by fetchReportSettings().
| TestCenterAdvanced.Config.Configuration.fetchReportSettings | ( | self, | |
| xmlRoot ) |
Definition at line 280 of file Config.py.
References __report, fetchReportNodeSettings(), and nodeHasValidText().
Referenced by __init__().
| TestCenterAdvanced.Config.Configuration.fetchTestCaseManagerSettings | ( | self, | |
| xmlRoot ) |
Definition at line 343 of file Config.py.
References __shouldReloadPythonModulesWhenReloadingTestCases, and getBoolean().
Referenced by __init__().
| TestCenterAdvanced.Config.Configuration.fetchUseBullseyeCoverage | ( | self, | |
| bullseyeNode ) |
Definition at line 364 of file Config.py.
References __useBullseyeCoverage, and getBoolean().
Referenced by fetchBullseyeCoverageSettings().
| TestCenterAdvanced.Config.Configuration.fetchUseGlobalPythonCoverage | ( | self, | |
| pythonCoverageNode ) |
Definition at line 378 of file Config.py.
References __useGlobalPythonCoverage, and getBoolean().
Referenced by fetchPythonCoverageSettings().
| TestCenterAdvanced.Config.Configuration.fetchUsePythonCoverage | ( | self, | |
| pythonCoverageNode ) |
Definition at line 375 of file Config.py.
References __usePythonCoverage, and getBoolean().
Referenced by fetchPythonCoverageSettings().
|
static |
Searches for the executable in the basePath and all levels of the provided subPath in a 'deepest first' manner.
Definition at line 497 of file Config.py.
Referenced by getMLABExecutableCommand().
|
static |
Definition at line 322 of file Config.py.
Referenced by fetchReportNodeSettings(), fetchTestCaseManagerSettings(), fetchUseBullseyeCoverage(), fetchUseGlobalPythonCoverage(), and fetchUsePythonCoverage().
| TestCenterAdvanced.Config.Configuration.getConfigFilePath | ( | self | ) |
| TestCenterAdvanced.Config.Configuration.getCoverageExclusions | ( | self | ) |
Definition at line 640 of file Config.py.
References __pythonCoverageExclusionExpressions.
| TestCenterAdvanced.Config.Configuration.getCoverageInclusions | ( | self | ) |
Definition at line 643 of file Config.py.
References __pythonCoverageInclusionExpressions.
| TestCenterAdvanced.Config.Configuration.getDefaultTestTimeoutSeconds | ( | self | ) |
Definition at line 580 of file Config.py.
References __defaultTestTimeoutSeconds.
|
static |
Definition at line 332 of file Config.py.
Referenced by fetchReportNodeSettings().
| TestCenterAdvanced.Config.Configuration.getIPCConnectionTimeout | ( | self | ) |
Definition at line 670 of file Config.py.
References __ipcConnectionTimeout.
| TestCenterAdvanced.Config.Configuration.getMaxTestTimeoutSeconds | ( | self | ) |
Definition at line 667 of file Config.py.
References __maxTestTimeoutSeconds.
| TestCenterAdvanced.Config.Configuration.getMLABArguments | ( | self | ) |
Definition at line 534 of file Config.py.
References __MLABArguments.
Referenced by getMLABTestCenterCommand().
| TestCenterAdvanced.Config.Configuration.getMLABBinariesPath | ( | self | ) |
Definition at line 487 of file Config.py.
References __MLABExecutablePath.
Referenced by __init__(), and getMLABEffectiveBinariesPath().
| TestCenterAdvanced.Config.Configuration.getMLABCompileMode | ( | self | ) |
Definition at line 537 of file Config.py.
References __MLABCompileMode.
| TestCenterAdvanced.Config.Configuration.getMLABCurrentBinariesPath | ( | self | ) |
Definition at line 484 of file Config.py.
References __MLABCurrentExecutablePath.
Referenced by getMLABEffectiveBinariesPath().
| TestCenterAdvanced.Config.Configuration.getMLABEffectiveBinariesPath | ( | self | ) |
Definition at line 493 of file Config.py.
References getMLABBinariesPath(), getMLABCurrentBinariesPath(), and getMLABUseCurrent().
Referenced by getMLABExecutableCommand().
| TestCenterAdvanced.Config.Configuration.getMLABExecutableCommand | ( | self | ) |
Definition at line 520 of file Config.py.
References findMLABExecutable(), getMLABEffectiveBinariesPath(), and useMLABDebugVersion().
Referenced by getMLABTestCenterCommand().
| TestCenterAdvanced.Config.Configuration.getMLABTestCenterCommand | ( | self, | |
| macroName ) |
Definition at line 560 of file Config.py.
References __configFilePath, getMLABArguments(), and getMLABExecutableCommand().
| TestCenterAdvanced.Config.Configuration.getMLABUseCurrent | ( | self | ) |
Definition at line 490 of file Config.py.
References __MLABUseCurrent.
Referenced by getMLABEffectiveBinariesPath().
| TestCenterAdvanced.Config.Configuration.getReportDirectory | ( | self | ) |
| TestCenterAdvanced.Config.Configuration.getReportName | ( | self | ) |
| TestCenterAdvanced.Config.Configuration.getReportOptions | ( | self | ) |
| TestCenterAdvanced.Config.Configuration.getReportTimestampTemplate | ( | self | ) |
| TestCenterAdvanced.Config.Configuration.getRestartInterval | ( | self | ) |
Definition at line 664 of file Config.py.
References __mMLABRestartInterval.
| TestCenterAdvanced.Config.Configuration.getResultDir | ( | self | ) |
Definition at line 478 of file Config.py.
References __resultOutputDirectory.
| TestCenterAdvanced.Config.Configuration.getResultFile | ( | self | ) |
Definition at line 481 of file Config.py.
References __resultOutputDirectory, and __xmlResultFileName.
| TestCenterAdvanced.Config.Configuration.getSlaveLogFilePath | ( | self | ) |
Definition at line 472 of file Config.py.
References __MLABSlaveLogFileName, and __resultOutputDirectory.
| TestCenterAdvanced.Config.Configuration.hideInfoMessages | ( | self | ) |
| TestCenterAdvanced.Config.Configuration.hideSystemMessages | ( | self | ) |
| TestCenterAdvanced.Config.Configuration.isBullseyeCoverageEnabled | ( | self | ) |
Definition at line 658 of file Config.py.
References __useBullseyeCoverage.
| TestCenterAdvanced.Config.Configuration.isGlobalPythonCoverageEnabled | ( | self | ) |
Definition at line 649 of file Config.py.
References __useGlobalPythonCoverage.
| TestCenterAdvanced.Config.Configuration.isPythonCoverageEnabled | ( | self | ) |
Definition at line 646 of file Config.py.
References __usePythonCoverage.
|
static |
Definition at line 229 of file Config.py.
Referenced by fetchIPCSettings(), fetchMLABSettings(), and fetchReportSettings().
| TestCenterAdvanced.Config.Configuration.save | ( | self, | |
| filename = None ) |
Save the configuration variables set to the file with the given name.
Definition at line 409 of file Config.py.
References __configFilePath, __defaultTestTimeoutSeconds, __ipcConnectionTimeout, __maxTestTimeoutSeconds, __MLABArguments, __MLABCompileMode, __MLABExecutablePath, __MLABSlaveLogFileName, __MLABUseCurrent, __mMLABRestartInterval, __pythonCoverageExclusionExpressions, __pythonCoverageInclusionExpressions, __report, __resultOutputDirectory, __useBullseyeCoverage, __useGlobalPythonCoverage, __usePythonCoverage, __xmlResultFileName, and storeTestCaseManagerSettings().
Referenced by __init__().
| TestCenterAdvanced.Config.Configuration.setBullseyeCoverageEnabled | ( | self, | |
| value ) |
Definition at line 661 of file Config.py.
References __useBullseyeCoverage.
| TestCenterAdvanced.Config.Configuration.setGlobalPythonCoverageEnabled | ( | self, | |
| value ) |
Definition at line 655 of file Config.py.
References __useGlobalPythonCoverage.
| TestCenterAdvanced.Config.Configuration.setMLABArguments | ( | self, | |
| arguments ) |
Definition at line 574 of file Config.py.
References __MLABArguments.
| TestCenterAdvanced.Config.Configuration.setMLABCompileMode | ( | self, | |
| value ) |
Definition at line 577 of file Config.py.
References __MLABCompileMode.
| TestCenterAdvanced.Config.Configuration.setMLABExecutablePath | ( | self, | |
| executablePath ) |
Definition at line 567 of file Config.py.
References __MLABExecutablePath.
| TestCenterAdvanced.Config.Configuration.setMLABUseCurrent | ( | self, | |
| usecurrent ) |
Definition at line 571 of file Config.py.
References __MLABUseCurrent.
| TestCenterAdvanced.Config.Configuration.setMLABUseDebug | ( | self, | |
| useDebug ) |
Definition at line 548 of file Config.py.
References __MLABCompileMode.
| TestCenterAdvanced.Config.Configuration.setPythonCoverageEnabled | ( | self, | |
| value ) |
Definition at line 652 of file Config.py.
References __usePythonCoverage.
| TestCenterAdvanced.Config.Configuration.setReportOptions | ( | self, | |
| directory, | |||
| name, | |||
| timestampTemplate, | |||
| appendTestCaseName, | |||
| appendTimestamp, | |||
| collapseFunctions, | |||
| showFailedFunctionsOnly, | |||
| hideInfoMessages, | |||
| hideSystemMessages ) |
| TestCenterAdvanced.Config.Configuration.setResultDir | ( | self, | |
| directory ) |
Definition at line 475 of file Config.py.
References __resultOutputDirectory.
| TestCenterAdvanced.Config.Configuration.setTestCaseManagerOptions | ( | self, | |
| shouldReloadPythonModulesWhenReloadingTestCases ) |
Definition at line 557 of file Config.py.
References __shouldReloadPythonModulesWhenReloadingTestCases.
| TestCenterAdvanced.Config.Configuration.shouldReloadPythonModulesWhenReloadingTestCases | ( | self | ) |
Definition at line 554 of file Config.py.
References __shouldReloadPythonModulesWhenReloadingTestCases.
| TestCenterAdvanced.Config.Configuration.showFailedFunctionsOnly | ( | self | ) |
| TestCenterAdvanced.Config.Configuration.storeTestCaseManagerSettings | ( | self, | |
| xmlRoot ) |
Definition at line 349 of file Config.py.
References __shouldReloadPythonModulesWhenReloadingTestCases.
Referenced by save().
| TestCenterAdvanced.Config.Configuration.useMLABDebugVersion | ( | self | ) |
Definition at line 540 of file Config.py.
References __MLABCompileMode.
Referenced by getMLABExecutableCommand().