/** * {@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(); } }
/** * {@inheritdoc} */ protected function printTimeSummary(LoggerDataCollector $logger) { $this->writeln('<p class="time">'); parent::printTimeSummary($logger); $this->writeln('</p>'); }
/** * {@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>'); }