You are here

public function PHPUnit_Framework_TestSuite::setRunTestInSeparateProcess in Zircon Profile 8

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

@since Method available since Release 3.7.0

Parameters

bool $runTestInSeparateProcess:

Throws

PHPUnit_Framework_Exception

File

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

Class

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

Code

public function setRunTestInSeparateProcess($runTestInSeparateProcess) {
  if (is_bool($runTestInSeparateProcess)) {
    $this->runTestInSeparateProcess = $runTestInSeparateProcess;
  }
  else {
    throw PHPUnit_Util_InvalidArgumentHelper::factory(1, 'boolean');
  }
}