You are here

public function PHPUnit_Extensions_RepeatedTest::count in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/src/Extensions/RepeatedTest.php \PHPUnit_Extensions_RepeatedTest::count()

Counts the number of test cases that will be run by this test.

Return value

int

Overrides PHPUnit_Extensions_TestDecorator::count

File

vendor/phpunit/phpunit/src/Extensions/RepeatedTest.php, line 57

Class

PHPUnit_Extensions_RepeatedTest
A Decorator that runs a test repeatedly.

Code

public function count() {
  return $this->timesRepeat * count($this->test);
}