public function AbstractProcessTest::testSetIdleTimeoutWhileOutputIsDisabled in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/process/Tests/AbstractProcessTest.php \Symfony\Component\Process\Tests\AbstractProcessTest::testSetIdleTimeoutWhileOutputIsDisabled()
File
- vendor/
symfony/ process/ Tests/ AbstractProcessTest.php, line 1081
Class
- AbstractProcessTest
- @author Robert Schönthal <seroscho@googlemail.com>
Namespace
Symfony\Component\Process\TestsCode
public function testSetIdleTimeoutWhileOutputIsDisabled() {
$process = $this
->getProcess('sleep 3');
$process
->disableOutput();
$this
->setExpectedException('Symfony\\Component\\Process\\Exception\\LogicException', 'Idle timeout can not be set while the output is disabled.');
$process
->setIdleTimeout(1);
}