|
TestCenter Reference
|
Public Member Functions | |
| __init__ (self, config, logfileDir, env, isInsideTestCaseManager) | |
| hasStarted (self) | |
| getID (self) | |
| getPID (self) | |
| isRunning (self) | |
| getExitCode (self) | |
| kill (self) | |
| wasKilled (self) | |
| finish (self, printLog) | |
| logMessageWithPID (self, message) | |
| logDebugWithPID (self, message) | |
| logErrorWithPID (self, message) | |
Static Public Attributes | |
| int | nextSlaveId = 0 |
| TestCenterAdvanced.Master.SlaveProcess.__init__ | ( | self, | |
| config, | |||
| logfileDir, | |||
| env, | |||
| isInsideTestCaseManager ) |
Definition at line 73 of file Master.py.
References __getCommandLine(), __hasStarted, __id, __logFile, __logFileFD, __logger, __slaveLogFile, __startProcess(), __wasKilled, and __workDir.
| TestCenterAdvanced.Master.SlaveProcess.finish | ( | self, | |
| printLog ) |
Definition at line 162 of file Master.py.
References __logFile, __logFileFD, __printLogsAfterError(), logErrorWithPID(), and logMessageWithPID().
| TestCenterAdvanced.Master.SlaveProcess.getExitCode | ( | self | ) |
| TestCenterAdvanced.Master.SlaveProcess.getID | ( | self | ) |
| TestCenterAdvanced.Master.SlaveProcess.getPID | ( | self | ) |
| TestCenterAdvanced.Master.SlaveProcess.hasStarted | ( | self | ) |
Definition at line 88 of file Master.py.
References __hasStarted, __logFile, __logFileFD, __logger, __process, __slaveLogFile, and __workDir.
| TestCenterAdvanced.Master.SlaveProcess.isRunning | ( | self | ) |
Definition at line 134 of file Master.py.
References getExitCode().
| TestCenterAdvanced.Master.SlaveProcess.kill | ( | self | ) |
Definition at line 140 of file Master.py.
References __process, and __wasKilled.
| TestCenterAdvanced.Master.SlaveProcess.logDebugWithPID | ( | self, | |
| message ) |
Definition at line 181 of file Master.py.
References __logger, and logMessageWithPID().
Referenced by TestCenterAdvanced.Master.Master.logMessageWithLastError(), and TestCenterAdvanced.Master.Master.stopSlave().
| TestCenterAdvanced.Master.SlaveProcess.logErrorWithPID | ( | self, | |
| message ) |
Definition at line 184 of file Master.py.
References __logger, and logMessageWithPID().
Referenced by finish(), TestCenterAdvanced.Master.Master.logMessageWithLastError(), TestCenterAdvanced.Master.Master.stopSlave(), and wasKilled().
| TestCenterAdvanced.Master.SlaveProcess.logMessageWithPID | ( | self, | |
| message ) |
Definition at line 178 of file Master.py.
References getPID().
Referenced by finish(), TestCenterAdvanced.Master.Master.logDebugWithPID(), logDebugWithPID(), TestCenterAdvanced.Master.Master.logErrorWithPID(), and logErrorWithPID().
| TestCenterAdvanced.Master.SlaveProcess.wasKilled | ( | self | ) |
Definition at line 144 of file Master.py.
References __logFile, __slaveLogFile, __wasKilled, and logErrorWithPID().
|
static |