/** * {@inheritdoc} */ protected function writeProgress($progress) { if ($progress == '.') { $progress = $this->fab->paintChar('*'); } parent::writeProgress($progress); }
/** * {@inheritdoc} */ protected function writeProgress($progress) { if ($this->debug) { return parent::writeProgress($progress); } $this->scoreboard->score($progress); }
/** * {@inheritdoc} */ protected function writeProgress($progress) { if ($this->debug) { parent::writeProgress($progress); return; } $this->printClassName(); $this->printTestCaseStatus('', $progress); }
/** * @param string $progress */ protected function writeProgress($progress) { static $deletedHeader = false; if (!$deletedHeader) { if (ob_get_length() > 0) { ob_end_clean(); $deletedHeader = true; } } parent::writeProgress($progress); }
/** * {@inheritdoc} */ protected function writeProgress($progress) { switch ($progress) { case 'E': return parent::writeProgress($this->errorEmoji); case 'F': return parent::writeProgress($this->failureEmoji); case 'I': return parent::writeProgress($this->incompleteEmoji); case 'R': return parent::writeProgress($this->riskyEmoji); case 'S': return parent::writeProgress($this->skippedEmoji); case '.': return parent::writeProgress($this->passEmoji); default: return parent::writeProgress($progress); } }
protected function writeProgress($progress) { if ($this->_getProgressBar()) { if ($progress != '.') { echo $progress . "\n"; } $t = round(array_sum($this->_expectedTimes) - $this->_currentProgress, 1); if ($t > 120) { $t = floor($t / 60) . ' min ' . $t % 60 . ' sec'; } else { $t = $t . ' sec'; } $this->_getProgressBar()->update($this->_currentProgress, $this->_currentTest . '/' . count($this->_expectedTimes) . ' noch ' . $t); } else { return parent::writeProgress($progress); } }
protected function writeProgress($progress) { if (!$this->silent) { parent::writeProgress($progress); } }