/** * {@inheritdoc} */ public function endSuite(Suite $suite) { $this->output->write(PHP_EOL); parent::endSuite($suite); }
/** * {@inheritdoc} */ protected function formatIterationTime(Iteration $iteration) { $time = sprintf('%-' . $this->colWidth . 's', parent::formatIterationTime($iteration)); if (strlen($time) > $this->colWidth) { // add one to allow a single space between columns $this->colWidth = strlen($time) + 1; $this->drawIterations($iteration->getCollection(), array(), null); $this->resetLinePosition(); } return $time; }
/** * {@inheritdoc} */ protected function formatIterationTime(Iteration $iteration) { $time = sprintf('%-' . $this->colWidth . 's', parent::formatIterationTime($iteration)); if (strlen(trim($time)) >= $this->colWidth) { $this->colWidth += 2; $this->resetLinePosition(); $this->drawIterations($iteration->getVariant(), $this->rejects, 'error'); $this->resetLinePosition(); } return $time; }
/** * {@inheritdoc} */ public function endSuite(SuiteDocument $suiteDocument) { $this->output->write(PHP_EOL); parent::endSuite($suiteDocument); }