You are here

public function PHPUnit_Framework_TestSuite_DataProvider::setDependencies in Zircon Profile 8

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

Sets the dependencies of a TestCase.

Parameters

array $dependencies:

File

vendor/phpunit/phpunit/src/Framework/TestSuite/DataProvider.php, line 21

Class

PHPUnit_Framework_TestSuite_DataProvider
@since Class available since Release 3.4.0

Code

public function setDependencies(array $dependencies) {
  foreach ($this->tests as $test) {
    $test
      ->setDependencies($dependencies);
  }
}