You are here

public function PHP_CodeCoverage::setTests in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/phpunit/php-code-coverage/src/CodeCoverage.php \PHP_CodeCoverage::setTests()

Sets the test data.

@since Method available since Release 2.0.0

Parameters

array $tests:

File

vendor/phpunit/php-code-coverage/src/CodeCoverage.php, line 195

Class

PHP_CodeCoverage
Provides collection functionality for PHP code coverage information.

Code

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