You are here

public function PHPUnit_Extensions_TestDecorator::count in Zircon Profile 8

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

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

Return value

int

1 method overrides PHPUnit_Extensions_TestDecorator::count()
PHPUnit_Extensions_RepeatedTest::count in vendor/phpunit/phpunit/src/Extensions/RepeatedTest.php
Counts the number of test cases that will be run by this test.

File

vendor/phpunit/phpunit/src/Extensions/TestDecorator.php, line 66

Class

PHPUnit_Extensions_TestDecorator
A Decorator for Tests.

Code

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