TestCenter Reference
|
Static Public Member Functions | |
nodeHasValidText (node) | |
getBoolean (node, default, attributeName) | |
getInteger (node, default, attributeName) | |
findMLABExecutable (basePath, executableName, subPath) | |
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 @a autoSave is True then the configuration is automatically saved. Otherwise, you have to save is explicitly.
Definition at line 101 of file Config.py.
References TestCenterAdvanced.Config.Configuration.__configFilePath, TestCenterAdvanced.Config.Configuration.__defaultTestTimeoutSeconds, TestCenterAdvanced.Config.Configuration.__ipcConnectionTimeout, TestCenterAdvanced.Config.Configuration.__load(), TestSupport.FieldValueTests.FieldValueTestCase.__load(), TestCenterAdvanced.Config.Configuration.__maxTestTimeoutSeconds, TestCenterAdvanced.Config.Configuration.__MLABArguments, TestCenterAdvanced.Config.Configuration.__MLABCompileMode, TestCenterAdvanced.Config.Configuration.__MLABCurrentExecutablePath, TestCenterAdvanced.Config.Configuration.__MLABExecutablePath, TestCenterAdvanced.Config.Configuration.__MLABSlaveLogFileName, TestCenterAdvanced.Config.Configuration.__MLABUseCurrent, TestCenterAdvanced.Config.Configuration.__mMLABRestartInterval, TestCenterAdvanced.Config.Configuration.__pythonCoverageExclusionExpressions, TestCenterAdvanced.Config.Configuration.__pythonCoverageInclusionExpressions, TestCenterAdvanced.Config.Configuration.__report, TestCenterAdvanced.Config.Configuration.__resultOutputDirectory, TestCenterAdvanced.Config.Configuration.__setDefaultValues(), TestCenterAdvanced.Config.Configuration.__shouldReloadPythonModulesWhenReloadingTestCases, TestCenterAdvanced.Config.Configuration.__useBullseyeCoverage, TestCenterAdvanced.Config.Configuration.__useGlobalPythonCoverage, TestCenterAdvanced.Config.Configuration.__usePythonCoverage, TestCenterAdvanced.Config.Configuration.__xmlResultFileName, TestCenterAdvanced.Config.Configuration.fetchCoverageSettings(), TestCenterAdvanced.Config.Configuration.fetchIPCSettings(), TestCenterAdvanced.Config.Configuration.fetchMLABSettings(), TestCenterAdvanced.Config.Configuration.fetchReportSettings(), TestCenterAdvanced.Config.Configuration.fetchTestCaseManagerSettings(), TestCenterAdvanced.Config.Configuration.getConfigFilePath(), TestCenterAdvanced.Config.Configuration.getMLABBinariesPath(), TestSupport.FieldValueTests.FieldValueTestCase.FieldListBase.save(), TestSupport.FieldValueTests.FieldValueTestCaseSet.save(), TestCenterAdvanced.Config.Configuration.save(), and TestSupport.FieldValueTests.FieldValueTestCase.save().
TestCenterAdvanced.Config.Configuration.appendTestCaseNameToReportName | ( | self | ) |
Definition at line 656 of file Config.py.
References TestCenterAdvanced.Config.Configuration.__report.
TestCenterAdvanced.Config.Configuration.appendTimestampToReportName | ( | self | ) |
Definition at line 660 of file Config.py.
References TestCenterAdvanced.Config.Configuration.__report.
TestCenterAdvanced.Config.Configuration.collapseFunctions | ( | self | ) |
Definition at line 664 of file Config.py.
References TestCenterAdvanced.Config.Configuration.__report.
TestCenterAdvanced.Config.Configuration.fetchBullseyeCoverageSettings | ( | self, | |
coverageNode ) |
Definition at line 374 of file Config.py.
References TestCenterAdvanced.Config.Configuration.fetchUseBullseyeCoverage().
Referenced by TestCenterAdvanced.Config.Configuration.fetchCoverageSettings().
TestCenterAdvanced.Config.Configuration.fetchCoverageSettings | ( | self, | |
xmlRoot ) |
Definition at line 368 of file Config.py.
References TestCenterAdvanced.Config.Configuration.fetchBullseyeCoverageSettings(), and TestCenterAdvanced.Config.Configuration.fetchPythonCoverageSettings().
Referenced by TestCenterAdvanced.Config.Configuration.__init__().
TestCenterAdvanced.Config.Configuration.fetchIPCSettings | ( | self, | |
xmlRoot ) |
Definition at line 421 of file Config.py.
References TestCenterAdvanced.Config.Configuration.__ipcConnectionTimeout, and TestCenterAdvanced.Config.Configuration.nodeHasValidText().
Referenced by TestCenterAdvanced.Config.Configuration.__init__().
TestCenterAdvanced.Config.Configuration.fetchMLABSettings | ( | self, | |
xmlRoot ) |
Definition at line 242 of file Config.py.
References TestCenterAdvanced.Config.Configuration.__defaultTestTimeoutSeconds, TestCenterAdvanced.Config.Configuration.__maxTestTimeoutSeconds, TestCenterAdvanced.Config.Configuration.__MLABArguments, TestCenterAdvanced.Config.Configuration.__MLABCompileMode, TestCenterAdvanced.Config.Configuration.__MLABExecutablePath, TestCenterAdvanced.Config.Configuration.__MLABSlaveLogFileName, TestCenterAdvanced.Config.Configuration.__MLABUseCurrent, TestCenterAdvanced.Config.Configuration.__mMLABRestartInterval, TestCenterAdvanced.Config.Configuration.__resultOutputDirectory, TestCenterAdvanced.Config.Configuration.__xmlResultFileName, and TestCenterAdvanced.Config.Configuration.nodeHasValidText().
Referenced by TestCenterAdvanced.Config.Configuration.__init__().
TestCenterAdvanced.Config.Configuration.fetchPythonCoverageExclusionExpressions | ( | self, | |
coverageNode ) |
Definition at line 403 of file Config.py.
References TestCenterAdvanced.Config.Configuration.__pythonCoverageExclusionExpressions.
Referenced by TestCenterAdvanced.Config.Configuration.fetchPythonCoverageSettings().
TestCenterAdvanced.Config.Configuration.fetchPythonCoverageInclusionExpressions | ( | self, | |
coverageNode ) |
Definition at line 412 of file Config.py.
References TestCenterAdvanced.Config.Configuration.__pythonCoverageInclusionExpressions.
Referenced by TestCenterAdvanced.Config.Configuration.fetchPythonCoverageSettings().
TestCenterAdvanced.Config.Configuration.fetchPythonCoverageSettings | ( | self, | |
coverageNode ) |
Definition at line 384 of file Config.py.
References TestCenterAdvanced.Config.Configuration.fetchPythonCoverageExclusionExpressions(), TestCenterAdvanced.Config.Configuration.fetchPythonCoverageInclusionExpressions(), TestCenterAdvanced.Config.Configuration.fetchUseGlobalPythonCoverage(), and TestCenterAdvanced.Config.Configuration.fetchUsePythonCoverage().
Referenced by TestCenterAdvanced.Config.Configuration.fetchCoverageSettings().
TestCenterAdvanced.Config.Configuration.fetchReportNodeSettings | ( | self, | |
xmlRoot ) |
Definition at line 307 of file Config.py.
References TestCenterAdvanced.Config.Configuration.__report, TestCenterAdvanced.Config.Configuration.getBoolean(), and TestCenterAdvanced.Config.Configuration.getInteger().
Referenced by TestCenterAdvanced.Config.Configuration.fetchReportSettings().
TestCenterAdvanced.Config.Configuration.fetchReportSettings | ( | self, | |
xmlRoot ) |
Definition at line 291 of file Config.py.
References TestCenterAdvanced.Config.Configuration.__report, TestCenterAdvanced.Config.Configuration.fetchReportNodeSettings(), and TestCenterAdvanced.Config.Configuration.nodeHasValidText().
Referenced by TestCenterAdvanced.Config.Configuration.__init__().
TestCenterAdvanced.Config.Configuration.fetchTestCaseManagerSettings | ( | self, | |
xmlRoot ) |
Definition at line 357 of file Config.py.
References TestCenterAdvanced.Config.Configuration.__shouldReloadPythonModulesWhenReloadingTestCases, and TestCenterAdvanced.Config.Configuration.getBoolean().
Referenced by TestCenterAdvanced.Config.Configuration.__init__().
TestCenterAdvanced.Config.Configuration.fetchUseBullseyeCoverage | ( | self, | |
bullseyeNode ) |
Definition at line 379 of file Config.py.
References TestCenterAdvanced.Config.Configuration.__useBullseyeCoverage, and TestCenterAdvanced.Config.Configuration.getBoolean().
Referenced by TestCenterAdvanced.Config.Configuration.fetchBullseyeCoverageSettings().
TestCenterAdvanced.Config.Configuration.fetchUseGlobalPythonCoverage | ( | self, | |
pythonCoverageNode ) |
Definition at line 397 of file Config.py.
References TestCenterAdvanced.Config.Configuration.__useGlobalPythonCoverage, and TestCenterAdvanced.Config.Configuration.getBoolean().
Referenced by TestCenterAdvanced.Config.Configuration.fetchPythonCoverageSettings().
TestCenterAdvanced.Config.Configuration.fetchUsePythonCoverage | ( | self, | |
pythonCoverageNode ) |
Definition at line 392 of file Config.py.
References TestCenterAdvanced.Config.Configuration.__usePythonCoverage, and TestCenterAdvanced.Config.Configuration.getBoolean().
Referenced by TestCenterAdvanced.Config.Configuration.fetchPythonCoverageSettings().
|
static |
Searches for the executable in the basePath and all levels of the provided subPath in a 'deepest first' manner
Definition at line 526 of file Config.py.
Referenced by TestCenterAdvanced.Config.Configuration.getMLABExecutableCommand().
|
static |
Definition at line 336 of file Config.py.
Referenced by TestCenterAdvanced.Config.Configuration.fetchReportNodeSettings(), TestCenterAdvanced.Config.Configuration.fetchTestCaseManagerSettings(), TestCenterAdvanced.Config.Configuration.fetchUseBullseyeCoverage(), TestCenterAdvanced.Config.Configuration.fetchUseGlobalPythonCoverage(), and TestCenterAdvanced.Config.Configuration.fetchUsePythonCoverage().
TestCenterAdvanced.Config.Configuration.getConfigFilePath | ( | self | ) |
Definition at line 618 of file Config.py.
References TestCenterAdvanced.Config.Configuration.__configFilePath.
Referenced by TestCenterAdvanced.Config.Configuration.__init__().
TestCenterAdvanced.Config.Configuration.getCoverageExclusions | ( | self | ) |
Definition at line 680 of file Config.py.
References TestCenterAdvanced.Config.Configuration.__pythonCoverageExclusionExpressions.
TestCenterAdvanced.Config.Configuration.getCoverageInclusions | ( | self | ) |
Definition at line 683 of file Config.py.
References TestCenterAdvanced.Config.Configuration.__pythonCoverageInclusionExpressions.
TestCenterAdvanced.Config.Configuration.getDefaultTestTimeoutSeconds | ( | self | ) |
Definition at line 614 of file Config.py.
References TestCenterAdvanced.Config.Configuration.__defaultTestTimeoutSeconds.
|
static |
Definition at line 346 of file Config.py.
Referenced by TestCenterAdvanced.Config.Configuration.fetchReportNodeSettings().
TestCenterAdvanced.Config.Configuration.getIPCConnectionTimeout | ( | self | ) |
Definition at line 718 of file Config.py.
References TestCenterAdvanced.Config.Configuration.__ipcConnectionTimeout.
TestCenterAdvanced.Config.Configuration.getMaxTestTimeoutSeconds | ( | self | ) |
Definition at line 715 of file Config.py.
References TestCenterAdvanced.Config.Configuration.__maxTestTimeoutSeconds.
TestCenterAdvanced.Config.Configuration.getMLABArguments | ( | self | ) |
Definition at line 561 of file Config.py.
References TestCenterAdvanced.Config.Configuration.__MLABArguments.
Referenced by TestCenterAdvanced.Config.Configuration.getMLABTestCenterCommand().
TestCenterAdvanced.Config.Configuration.getMLABBinariesPath | ( | self | ) |
Definition at line 513 of file Config.py.
References TestCenterAdvanced.Config.Configuration.__MLABExecutablePath.
Referenced by TestCenterAdvanced.Config.Configuration.__init__(), and TestCenterAdvanced.Config.Configuration.getMLABEffectiveBinariesPath().
TestCenterAdvanced.Config.Configuration.getMLABCompileMode | ( | self | ) |
Definition at line 565 of file Config.py.
References TestCenterAdvanced.Config.Configuration.__MLABCompileMode.
TestCenterAdvanced.Config.Configuration.getMLABCurrentBinariesPath | ( | self | ) |
Definition at line 509 of file Config.py.
References TestCenterAdvanced.Config.Configuration.__MLABCurrentExecutablePath.
Referenced by TestCenterAdvanced.Config.Configuration.getMLABEffectiveBinariesPath().
TestCenterAdvanced.Config.Configuration.getMLABEffectiveBinariesPath | ( | self | ) |
Definition at line 521 of file Config.py.
References TestCenterAdvanced.Config.Configuration.getMLABBinariesPath(), TestCenterAdvanced.Config.Configuration.getMLABCurrentBinariesPath(), and TestCenterAdvanced.Config.Configuration.getMLABUseCurrent().
Referenced by TestCenterAdvanced.Config.Configuration.getMLABExecutableCommand().
TestCenterAdvanced.Config.Configuration.getMLABExecutableCommand | ( | self | ) |
Definition at line 550 of file Config.py.
References TestCenterAdvanced.Config.Configuration.findMLABExecutable(), TestCenterAdvanced.Config.Configuration.getMLABEffectiveBinariesPath(), and TestCenterAdvanced.Config.Configuration.useMLABDebugVersion().
Referenced by TestCenterAdvanced.Config.Configuration.getMLABTestCenterCommand().
TestCenterAdvanced.Config.Configuration.getMLABTestCenterCommand | ( | self, | |
macroName ) |
Definition at line 591 of file Config.py.
References TestCenterAdvanced.Config.Configuration.__configFilePath, TestCenterAdvanced.Config.Configuration.getMLABArguments(), and TestCenterAdvanced.Config.Configuration.getMLABExecutableCommand().
TestCenterAdvanced.Config.Configuration.getMLABUseCurrent | ( | self | ) |
Definition at line 517 of file Config.py.
References TestCenterAdvanced.Config.Configuration.__MLABUseCurrent.
Referenced by TestCenterAdvanced.Config.Configuration.getMLABEffectiveBinariesPath().
TestCenterAdvanced.Config.Configuration.getReportDirectory | ( | self | ) |
Definition at line 644 of file Config.py.
References TestCenterAdvanced.Config.Configuration.__report.
TestCenterAdvanced.Config.Configuration.getReportName | ( | self | ) |
Definition at line 648 of file Config.py.
References TestCenterAdvanced.Config.Configuration.__report.
TestCenterAdvanced.Config.Configuration.getReportOptions | ( | self | ) |
Definition at line 621 of file Config.py.
References TestCenterAdvanced.Config.Configuration.__report.
TestCenterAdvanced.Config.Configuration.getReportTimestampTemplate | ( | self | ) |
Definition at line 652 of file Config.py.
References TestCenterAdvanced.Config.Configuration.__report.
TestCenterAdvanced.Config.Configuration.getRestartInterval | ( | self | ) |
Definition at line 711 of file Config.py.
References TestCenterAdvanced.Config.Configuration.__mMLABRestartInterval.
TestCenterAdvanced.Config.Configuration.getResultDir | ( | self | ) |
Definition at line 501 of file Config.py.
References TestCenterAdvanced.Config.Configuration.__resultOutputDirectory.
TestCenterAdvanced.Config.Configuration.getResultFile | ( | self | ) |
Definition at line 505 of file Config.py.
References TestCenterAdvanced.Config.Configuration.__resultOutputDirectory, and TestCenterAdvanced.Config.Configuration.__xmlResultFileName.
TestCenterAdvanced.Config.Configuration.getSlaveLogFilePath | ( | self | ) |
Definition at line 493 of file Config.py.
References TestCenterAdvanced.Config.Configuration.__MLABSlaveLogFileName, and TestCenterAdvanced.Config.Configuration.__resultOutputDirectory.
TestCenterAdvanced.Config.Configuration.hideInfoMessages | ( | self | ) |
Definition at line 672 of file Config.py.
References TestCenterAdvanced.Config.Configuration.__report.
TestCenterAdvanced.Config.Configuration.hideSystemMessages | ( | self | ) |
Definition at line 676 of file Config.py.
References TestCenterAdvanced.Config.Configuration.__report.
TestCenterAdvanced.Config.Configuration.isBullseyeCoverageEnabled | ( | self | ) |
Definition at line 703 of file Config.py.
References TestCenterAdvanced.Config.Configuration.__useBullseyeCoverage.
TestCenterAdvanced.Config.Configuration.isGlobalPythonCoverageEnabled | ( | self | ) |
Definition at line 691 of file Config.py.
References TestCenterAdvanced.Config.Configuration.__useGlobalPythonCoverage.
TestCenterAdvanced.Config.Configuration.isPythonCoverageEnabled | ( | self | ) |
Definition at line 687 of file Config.py.
References TestCenterAdvanced.Config.Configuration.__usePythonCoverage.
|
static |
Definition at line 238 of file Config.py.
Referenced by TestCenterAdvanced.Config.Configuration.fetchIPCSettings(), TestCenterAdvanced.Config.Configuration.fetchMLABSettings(), and TestCenterAdvanced.Config.Configuration.fetchReportSettings().
TestCenterAdvanced.Config.Configuration.save | ( | self, | |
filename = None ) |
Save the configuration variables set to the file with the given name.
Definition at line 429 of file Config.py.
References TestCenterAdvanced.Config.Configuration.__configFilePath, TestCenterAdvanced.Config.Configuration.__defaultTestTimeoutSeconds, TestCenterAdvanced.Config.Configuration.__ipcConnectionTimeout, TestCenterAdvanced.Config.Configuration.__maxTestTimeoutSeconds, TestCenterAdvanced.Config.Configuration.__MLABArguments, TestCenterAdvanced.Config.Configuration.__MLABCompileMode, TestCenterAdvanced.Config.Configuration.__MLABExecutablePath, TestCenterAdvanced.Config.Configuration.__MLABSlaveLogFileName, TestCenterAdvanced.Config.Configuration.__MLABUseCurrent, TestCenterAdvanced.Config.Configuration.__mMLABRestartInterval, TestCenterAdvanced.Config.Configuration.__pythonCoverageExclusionExpressions, TestCenterAdvanced.Config.Configuration.__pythonCoverageInclusionExpressions, TestCenterAdvanced.Config.Configuration.__report, TestCenterAdvanced.Config.Configuration.__resultOutputDirectory, TestCenterAdvanced.Config.Configuration.__useBullseyeCoverage, TestCenterAdvanced.Config.Configuration.__useGlobalPythonCoverage, TestCenterAdvanced.Config.Configuration.__usePythonCoverage, TestCenterAdvanced.Config.Configuration.__xmlResultFileName, TestCenterAdvanced.Config.Configuration.storeTestCaseManagerSettings(), and TestCenterAdvanced.Config.unicode.
Referenced by TestCenterAdvanced.Config.Configuration.__init__().
TestCenterAdvanced.Config.Configuration.setBullseyeCoverageEnabled | ( | self, | |
value ) |
Definition at line 707 of file Config.py.
References TestCenterAdvanced.Config.Configuration.__useBullseyeCoverage.
TestCenterAdvanced.Config.Configuration.setGlobalPythonCoverageEnabled | ( | self, | |
value ) |
Definition at line 699 of file Config.py.
References TestCenterAdvanced.Config.Configuration.__useGlobalPythonCoverage.
TestCenterAdvanced.Config.Configuration.setMLABArguments | ( | self, | |
arguments ) |
Definition at line 606 of file Config.py.
References TestCenterAdvanced.Config.Configuration.__MLABArguments.
TestCenterAdvanced.Config.Configuration.setMLABCompileMode | ( | self, | |
value ) |
Definition at line 610 of file Config.py.
References TestCenterAdvanced.Config.Configuration.__MLABCompileMode.
TestCenterAdvanced.Config.Configuration.setMLABExecutablePath | ( | self, | |
executablePath ) |
Definition at line 597 of file Config.py.
References TestCenterAdvanced.Config.Configuration.__MLABExecutablePath.
TestCenterAdvanced.Config.Configuration.setMLABUseCurrent | ( | self, | |
usecurrent ) |
Definition at line 602 of file Config.py.
References TestCenterAdvanced.Config.Configuration.__MLABUseCurrent.
TestCenterAdvanced.Config.Configuration.setMLABUseDebug | ( | self, | |
useDebug ) |
Definition at line 577 of file Config.py.
References TestCenterAdvanced.Config.Configuration.__MLABCompileMode.
TestCenterAdvanced.Config.Configuration.setPythonCoverageEnabled | ( | self, | |
value ) |
Definition at line 695 of file Config.py.
References TestCenterAdvanced.Config.Configuration.__usePythonCoverage.
TestCenterAdvanced.Config.Configuration.setReportOptions | ( | self, | |
directory, | |||
name, | |||
timestampTemplate, | |||
appendTestCaseName, | |||
appendTimestamp, | |||
collapseFunctions, | |||
showFailedFunctionsOnly, | |||
hideInfoMessages, | |||
hideSystemMessages ) |
Definition at line 624 of file Config.py.
References TestCenterAdvanced.Config.Configuration.__report.
TestCenterAdvanced.Config.Configuration.setResultDir | ( | self, | |
directory ) |
Definition at line 497 of file Config.py.
References TestCenterAdvanced.Config.Configuration.__resultOutputDirectory.
TestCenterAdvanced.Config.Configuration.setTestCaseManagerOptions | ( | self, | |
shouldReloadPythonModulesWhenReloadingTestCases ) |
Definition at line 587 of file Config.py.
References TestCenterAdvanced.Config.Configuration.__shouldReloadPythonModulesWhenReloadingTestCases.
TestCenterAdvanced.Config.Configuration.shouldReloadPythonModulesWhenReloadingTestCases | ( | self | ) |
Definition at line 584 of file Config.py.
References TestCenterAdvanced.Config.Configuration.__shouldReloadPythonModulesWhenReloadingTestCases.
TestCenterAdvanced.Config.Configuration.showFailedFunctionsOnly | ( | self | ) |
Definition at line 668 of file Config.py.
References TestCenterAdvanced.Config.Configuration.__report.
TestCenterAdvanced.Config.Configuration.storeTestCaseManagerSettings | ( | self, | |
xmlRoot ) |
Definition at line 363 of file Config.py.
References TestCenterAdvanced.Config.Configuration.__shouldReloadPythonModulesWhenReloadingTestCases.
Referenced by TestCenterAdvanced.Config.Configuration.save().
TestCenterAdvanced.Config.Configuration.useMLABDebugVersion | ( | self | ) |
Definition at line 569 of file Config.py.
References TestCenterAdvanced.Config.Configuration.__MLABCompileMode.
Referenced by TestCenterAdvanced.Config.Configuration.getMLABExecutableCommand().