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 71 of file Master.py.
References TestCenterAdvanced.Master.SlaveProcess.__getCommandLine(), TestCenterAdvanced.Master.SlaveProcess.__hasStarted, TestCenterAdvanced.Master.SlaveProcess.__id, TestCenterAdvanced.Master.SlaveProcess.__logFile, TestCenterAdvanced.Master.SlaveProcess.__logFileFD, TestCenterAdvanced.Master.SlaveProcess.__logger, TestCenterAdvanced.Master.Master.__logger, TestCenterAdvanced.Master.SlaveProcess.__slaveLogFile, TestCenterAdvanced.Master.SlaveProcess.__startProcess(), TestCenterAdvanced.Master.SlaveProcess.__wasKilled, and TestCenterAdvanced.Master.SlaveProcess.__workDir.
TestCenterAdvanced.Master.SlaveProcess.finish | ( | self, | |
printLog ) |
Definition at line 153 of file Master.py.
References TestCenterAdvanced.Master.SlaveProcess.__logFile, TestCenterAdvanced.Master.SlaveProcess.__logFileFD, TestCenterAdvanced.Master.SlaveProcess.__printLogsAfterError(), TestCenterAdvanced.Master.SlaveProcess.logErrorWithPID(), TestCenterAdvanced.Master.Master.logErrorWithPID(), TestCenterAdvanced.Master.SlaveProcess.logMessageWithPID(), and TestCenterAdvanced.Master.Master.logMessageWithPID().
TestCenterAdvanced.Master.SlaveProcess.getExitCode | ( | self | ) |
Definition at line 128 of file Master.py.
References TestCenterAdvanced.Master.SlaveProcess.__process.
Referenced by TestCenterAdvanced.Master.SlaveProcess.isRunning().
TestCenterAdvanced.Master.SlaveProcess.getID | ( | self | ) |
Definition at line 119 of file Master.py.
References TestCenterAdvanced.Master.SlaveProcess.__id.
TestCenterAdvanced.Master.SlaveProcess.getPID | ( | self | ) |
Definition at line 122 of file Master.py.
References TestCenterAdvanced.Master.SlaveProcess.__process.
Referenced by TestCenterAdvanced.Master.SlaveProcess.logMessageWithPID().
TestCenterAdvanced.Master.SlaveProcess.hasStarted | ( | self | ) |
Definition at line 86 of file Master.py.
References TestCenterAdvanced.Master.SlaveProcess.__hasStarted, TestCenterAdvanced.Master.SlaveProcess.__logFile, TestCenterAdvanced.Master.SlaveProcess.__logFileFD, TestCenterAdvanced.Master.SlaveProcess.__logger, TestCenterAdvanced.Master.Master.__logger, TestCenterAdvanced.Master.SlaveProcess.__process, TestCenterAdvanced.Master.SlaveProcess.__slaveLogFile, and TestCenterAdvanced.Master.SlaveProcess.__workDir.
TestCenterAdvanced.Master.SlaveProcess.isRunning | ( | self | ) |
Definition at line 125 of file Master.py.
References TestCenterAdvanced.Master.SlaveProcess.getExitCode().
TestCenterAdvanced.Master.SlaveProcess.kill | ( | self | ) |
Definition at line 131 of file Master.py.
References TestCenterAdvanced.Master.SlaveProcess.__process, and TestCenterAdvanced.Master.SlaveProcess.__wasKilled.
TestCenterAdvanced.Master.SlaveProcess.logDebugWithPID | ( | self, | |
message ) |
Definition at line 172 of file Master.py.
References TestCenterAdvanced.Master.SlaveProcess.__logger, TestCenterAdvanced.Master.Master.__logger, TestCenterAdvanced.Master.SlaveProcess.logMessageWithPID(), and TestCenterAdvanced.Master.Master.logMessageWithPID().
Referenced by TestCenterAdvanced.Master.Master.logMessageWithLastError(), and TestCenterAdvanced.Master.Master.stopSlave().
TestCenterAdvanced.Master.SlaveProcess.logErrorWithPID | ( | self, | |
message ) |
Definition at line 175 of file Master.py.
References TestCenterAdvanced.Master.SlaveProcess.__logger, TestCenterAdvanced.Master.Master.__logger, TestCenterAdvanced.Master.SlaveProcess.logMessageWithPID(), and TestCenterAdvanced.Master.Master.logMessageWithPID().
Referenced by TestCenterAdvanced.Master.SlaveProcess.finish(), TestCenterAdvanced.Master.Master.logMessageWithLastError(), TestCenterAdvanced.Master.Master.stopSlave(), and TestCenterAdvanced.Master.SlaveProcess.wasKilled().
TestCenterAdvanced.Master.SlaveProcess.logMessageWithPID | ( | self, | |
message ) |
Definition at line 169 of file Master.py.
References TestCenterAdvanced.Master.SlaveProcess.getPID().
Referenced by TestCenterAdvanced.Master.SlaveProcess.finish(), TestCenterAdvanced.Master.SlaveProcess.logDebugWithPID(), TestCenterAdvanced.Master.Master.logDebugWithPID(), TestCenterAdvanced.Master.SlaveProcess.logErrorWithPID(), and TestCenterAdvanced.Master.Master.logErrorWithPID().
TestCenterAdvanced.Master.SlaveProcess.wasKilled | ( | self | ) |
Definition at line 135 of file Master.py.
References TestCenterAdvanced.Master.SlaveProcess.__logFile, TestCenterAdvanced.Master.SlaveProcess.__slaveLogFile, TestCenterAdvanced.Master.SlaveProcess.__wasKilled, TestCenterAdvanced.Master.SlaveProcess.logErrorWithPID(), and TestCenterAdvanced.Master.Master.logErrorWithPID().
|
static |