Пример #1
0
 public function exampleFinished(\PHPSpec\Specification\Example $example)
 {
     $this->notify(new ReporterEvent('exampleFinish', '', $example->getSpecificationText()));
 }
Пример #2
0
 /**
  * Adds a pass to the formatters
  * 
  * @param \PHPSpec\Specification\Example $example
  */
 public function addPass(Example $example)
 {
     $this->_passing[] = $example;
     $this->notify(new ReporterEvent('status', '.', $example->getSpecificationText()));
 }