public function PHPUnit_Framework_TestCase::setRunTestInSeparateProcess

@since Method available since Release 3.4.0

Parameters

boolean $runTestInSeparateProcess:

Throws

PHPUnit_Framework_Exception

File

drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/TestCase.php, line 1123

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');
  }
}