Example #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();
 }
 public function addProcessToFilenames(ProcessWithResultsInterface $process)
 {
     // trick for unique
     $this->filenames[$process->getUniqueId()] = $process->getFilename();
 }