PHPUnit_Extensions_RepeatedTest::__construct PHP Method

__construct() public method

Constructor.
public __construct ( PHPUnit_Framework_Test $test, integer $timesRepeat = 1, mixed $filter = FALSE, array $groups = [], array $excludeGroups = [], boolean $processIsolation = FALSE )
$test PHPUnit_Framework_Test
$timesRepeat integer
$filter mixed
$groups array
$excludeGroups array
$processIsolation boolean
    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;
    }
PHPUnit_Extensions_RepeatedTest