Ejemplo n.º 1
0
 /**
  * @param ProcessWithResultsInterface $process
  * @param \stdClass $logItem
  * @return null|NullTestResult
  */
 private function handleLogTermination(ProcessWithResultsInterface $process, \stdClass $logItem)
 {
     if ($process->isWaitingForTestResult()) {
         $this->injectLastFunctionInEndingLog($process, $logItem);
         return null;
     }
     return new NullTestResult();
 }
Ejemplo n.º 2
0
 public function addProcessToFilenames(ProcessWithResultsInterface $process)
 {
     // trick for unique
     $this->filenames[$process->getUniqueId()] = $process->getFilename();
 }