/** * 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); } }
/** * Runs the tests and collects their result in a TestResult. * * @param PHPUnit_Framework_TestResult $result * @access public */ public function run(PHPUnit_Framework_TestResult $result) { foreach ($this->fTests as $test) { if ($result->shouldStop()) { break; } $this->runTest($test, $result); } }