PHP Class Symfony\Component\Process\Tests\ProcessFailedExceptionTest

Author: Sebastian Marek ([email protected])
Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: symfony/symfony

Public Methods

Method Description
testDisabledOutputInFailedExceptionDoesNotPopulateOutput ( ) Tests that ProcessFailedException does not extract information from process output if it was previously disabled.
testProcessFailedExceptionPopulatesInformationFromProcessOutput ( ) tests ProcessFailedException uses information from process output to generate exception message.
testProcessFailedExceptionThrowsException ( ) tests ProcessFailedException throws exception if the process was successful.

Method Details

testDisabledOutputInFailedExceptionDoesNotPopulateOutput() public method

Tests that ProcessFailedException does not extract information from process output if it was previously disabled.

testProcessFailedExceptionPopulatesInformationFromProcessOutput() public method

tests ProcessFailedException uses information from process output to generate exception message.

testProcessFailedExceptionThrowsException() public method

tests ProcessFailedException throws exception if the process was successful.