You are here

public function PHPUnit_Framework_TestSuite::setTests in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/src/Framework/TestSuite.php \PHPUnit_Framework_TestSuite::setTests()

Set tests of the test suite

@since Method available since Release 4.0.0

Parameters

array $tests:

File

vendor/phpunit/phpunit/src/Framework/TestSuite.php, line 818

Class

PHPUnit_Framework_TestSuite
A TestSuite is a composite of Tests. It runs a collection of test cases.

Code

public function setTests(array $tests) {
  $this->tests = $tests;
}