Exemplo n.º 1
0
 /**
  * {@inheritDoc}
  */
 public function afterOutlineExample(OutlineExampleEvent $event)
 {
     parent::afterOutlineExample($event);
     $context = $event->getContext();
     if ($context instanceof SauceContext) {
         if ($context->isLocal()) {
             return;
         }
         $this->writeln(sprintf('        %s: %s', $this->translate('Sauce On-Demand Job'), $context->getNoLoginJobLink()));
         $this->writeln();
     }
 }
Exemplo n.º 2
0
 /**
  * {@inheritdoc}
  */
 protected function printTimeSummary(LoggerDataCollector $logger)
 {
     $this->writeln('<p class="time">');
     parent::printTimeSummary($logger);
     $this->writeln('</p>');
 }
Exemplo n.º 3
0
 /**
  * {@inheritdoc}
  */
 protected function printStep(StepNode $step, $result, Definition $definition = null, $snippet = null, \Exception $exception = null)
 {
     $this->writeln('<li class="' . $this->getResultColorCode($result) . '">');
     parent::printStep($step, $result, $definition, $snippet, $exception);
     $this->writeln('</li>');
 }