PHPUnit_Framework_TestResult::shouldStop PHP Метод

shouldStop() публичный Метод

Checks whether the test run should stop.
public shouldStop ( ) : boolean
Результат boolean
    public function shouldStop()
    {
        return $this->stop;
    }

Usage Example

Пример #1
0
 /**
  * Runs the decorated test and collects the
  * result in a TestResult.
  *
  * @param  PHPUnit_Framework_TestResult $result
  * @access public
  */
 public function run(PHPUnit_Framework_TestResult $result)
 {
     for ($i = 0; $i < $this->timesRepeat && !$result->shouldStop(); $i++) {
         $this->test->run($result);
     }
 }
All Usage Examples Of PHPUnit_Framework_TestResult::shouldStop