| 
    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 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 163 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 138 of file Master.py.
References TestCenterAdvanced.Master.SlaveProcess.__process.
Referenced by TestCenterAdvanced.Master.SlaveProcess.isRunning().
| TestCenterAdvanced.Master.SlaveProcess.getID | ( | self | ) | 
Definition at line 129 of file Master.py.
References TestCenterAdvanced.Master.SlaveProcess.__id.
| TestCenterAdvanced.Master.SlaveProcess.getPID | ( | self | ) | 
Definition at line 132 of file Master.py.
References TestCenterAdvanced.Master.SlaveProcess.__process.
Referenced by TestCenterAdvanced.Master.SlaveProcess.logMessageWithPID().
| TestCenterAdvanced.Master.SlaveProcess.hasStarted | ( | self | ) | 
Definition at line 88 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 135 of file Master.py.
References TestCenterAdvanced.Master.SlaveProcess.getExitCode().
| TestCenterAdvanced.Master.SlaveProcess.kill | ( | self | ) | 
Definition at line 141 of file Master.py.
References TestCenterAdvanced.Master.SlaveProcess.__process, and TestCenterAdvanced.Master.SlaveProcess.__wasKilled.
| TestCenterAdvanced.Master.SlaveProcess.logDebugWithPID | ( | self, | |
| message ) | 
Definition at line 182 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 185 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 179 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 145 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 |