public function AbstractProcessTest::testGetExitCode in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/process/Tests/AbstractProcessTest.php \Symfony\Component\Process\Tests\AbstractProcessTest::testGetExitCode()
2 calls to AbstractProcessTest::testGetExitCode()
- SigchildDisabledProcessTest::testGetExitCode 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::testGetExitCode in vendor/
symfony/ process/ Tests/ SimpleProcessTest.php
2 methods override AbstractProcessTest::testGetExitCode()
- SigchildDisabledProcessTest::testGetExitCode 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::testGetExitCode in vendor/
symfony/ process/ Tests/ SimpleProcessTest.php
File
- vendor/
symfony/ process/ Tests/ AbstractProcessTest.php, line 597
Class
- AbstractProcessTest
- @author Robert Schönthal <seroscho@googlemail.com>
Namespace
Symfony\Component\Process\TestsCode
public function testGetExitCode() {
$process = $this
->getProcess(self::$phpBin . ' -v');
$process
->run();
$this
->assertSame(0, $process
->getExitCode());
}