Constructor.
PHPUnit_Framework_Test $test:
integer $timesRepeat:
mixed $filter:
array $groups:
array $excludeGroups:
boolean $processIsolation:
Overrides PHPUnit_Extensions_TestDecorator::__construct
public function __construct(PHPUnit_Framework_Test $test, $timesRepeat = 1, $filter = FALSE, array $groups = array(), array $excludeGroups = array(), $processIsolation = FALSE) {
parent::__construct($test);
if (is_integer($timesRepeat) && $timesRepeat >= 0) {
$this->timesRepeat = $timesRepeat;
}
else {
throw PHPUnit_Util_InvalidArgumentHelper::factory(2, 'positive integer');
}
$this->filter = $filter;
$this->groups = $groups;
$this->excludeGroups = $excludeGroups;
$this->processIsolation = $processIsolation;
}