You are here

public function PHPUnit_Framework_TestCase::setRunTestInSeparateProcess in Zircon Profile 8

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

@since Method available since Release 3.4.0

Parameters

bool $runTestInSeparateProcess:

Throws

PHPUnit_Framework_Exception

File

vendor/phpunit/phpunit/src/Framework/TestCase.php, line 1091

Class

PHPUnit_Framework_TestCase
A TestCase defines the fixture to run multiple tests.

Code

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