示例#1
0
 /**
  * Callback called on a spec start.
  *
  * @param object $report The report object of the whole spec.
  */
 public function specStart($report = null)
 {
     parent::specStart($report);
     if (!$this->enabled()) {
         return;
     }
     $this->_collector->start();
 }
示例#2
0
文件: Bar.php 项目: Ilyes512/kahlan
 /**
  * Callback called on a spec start.
  *
  * @param object $report The report object of the whole spec.
  */
 public function specStart($report = null)
 {
     parent::specStart($report);
     $this->_progressBar();
 }