public function AbstractProcessTest::testIsNotSuccessful in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/process/Tests/AbstractProcessTest.php \Symfony\Component\Process\Tests\AbstractProcessTest::testIsNotSuccessful()
2 calls to AbstractProcessTest::testIsNotSuccessful()
- SigchildDisabledProcessTest::testIsNotSuccessful in vendor/
symfony/ process/ Tests/ SigchildDisabledProcessTest.php - @expectedException \Symfony\Component\Process\Exception\RuntimeException @expectedExceptionMessage This PHP has been compiled with --enable-sigchild. You must use setEnhanceSigchildCompatibility() to use this method.
- SimpleProcessTest::testIsNotSuccessful in vendor/
symfony/ process/ Tests/ SimpleProcessTest.php
2 methods override AbstractProcessTest::testIsNotSuccessful()
- SigchildDisabledProcessTest::testIsNotSuccessful in vendor/
symfony/ process/ Tests/ SigchildDisabledProcessTest.php - @expectedException \Symfony\Component\Process\Exception\RuntimeException @expectedExceptionMessage This PHP has been compiled with --enable-sigchild. You must use setEnhanceSigchildCompatibility() to use this method.
- SimpleProcessTest::testIsNotSuccessful in vendor/
symfony/ process/ Tests/ SimpleProcessTest.php
File
- vendor/
symfony/ process/ Tests/ AbstractProcessTest.php, line 653
Class
- AbstractProcessTest
- @author Robert Schönthal <seroscho@googlemail.com>
Namespace
Symfony\Component\Process\TestsCode
public function testIsNotSuccessful() {
$process = $this
->getProcess(self::$phpBin . ' -r "usleep(500000);throw new \\Exception(\'BOUM\');"');
$process
->start();
$this
->assertTrue($process
->isRunning());
$process
->wait();
$this
->assertFalse($process
->isSuccessful());
}