- \PHPUnit_Util_PHP
- \PHPUnit_Util_PHP_Default
class (none) \ PHPUnit_Util_PHP_Default
- All known direct subclasses:
- PHPUnit_Util_PHP_Windows
Default utility for PHP sub-processes.
Method Summary
| Name | Description |
|---|---|
| cleanup() | |
| process($pipe, $job) | |
| runJob($job, array $settings = array()) | Runs a single job (PHP code) using a separate PHP process. |
Inherited Method Summary
| Name | Description |
|---|---|
| factory() | (from PHPUnit_Util_PHP) |
| getException(PHPUnit_Framework_TestFailure $error) | Gets the thrown exception from a PHPUnit_Framework_TestFailure. (from PHPUnit_Util_PHP) |
| processChildResult(PHPUnit_Framework_Test $test, PHPUnit_Framework_TestResult $result, $stdout, $stderr) | Processes the TestResult object from an isolated process. (from PHPUnit_Util_PHP) |
| runTestJob($job, PHPUnit_Framework_Test $test, PHPUnit_Framework_TestResult $result) | Runs a single test in a separate PHP process. (from PHPUnit_Util_PHP) |
| settingsToParameters(array $settings) | (from PHPUnit_Util_PHP) |
protected function cleanup()
protected function process($pipe, $job)
- Parameters:
resource- $pipestring- $job- Throws:
- PHPUnit_Framework_Exception
public function runJob($job, array $settings = array())
Runs a single job (PHP code) using a separate PHP process.
- Overrides:
- runJob($job, array $settings = array())
- Parameters:
string- $jobarray- $settings- Defaults:
settings= array()- Returns:
- array
- Throws:
- PHPUnit_Framework_Exception