class (none) \ PHPUnit_Util_PHP_Windows


Windows utility for PHP sub-processes.


Method Summary

Name Description
cleanup()
process($pipe, $job)
runJob($job, array $settings = array()){@inheritdoc}

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()

Overrides:
cleanup()

protected function process($pipe, $job)

Overrides:
process($pipe, $job)
Parameters:
resource - $pipe
string - $job
Throws:
PHPUnit_Framework_Exception

public function runJob($job, array $settings = array())

{@inheritdoc}

Reading from STDOUT or STDERR hangs forever on Windows if the output is too large.

Overrides:
runJob($job, array $settings = array())
Parameters:
string - $job
array - $settings
Defaults:
settings = array()
Returns:
array
Throws:
PHPUnit_Framework_Exception
See Also:
https://bugs.php.net/bug.php?id=51800