You are here

public function PHPUnit_Util_TestSuiteIterator::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/src/Util/TestSuiteIterator.php \PHPUnit_Util_TestSuiteIterator::__construct()

Parameters

PHPUnit_Framework_TestSuite $testSuite:

File

vendor/phpunit/phpunit/src/Util/TestSuiteIterator.php, line 31

Class

PHPUnit_Util_TestSuiteIterator
Iterator for test suites.

Code

public function __construct(PHPUnit_Framework_TestSuite $testSuite) {
  $this->tests = $testSuite
    ->tests();
}