You are here

public function AbstractProcessTest::testMustRun in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/process/Tests/AbstractProcessTest.php \Symfony\Component\Process\Tests\AbstractProcessTest::testMustRun()
1 call to AbstractProcessTest::testMustRun()
SigchildDisabledProcessTest::testMustRun 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.
1 method overrides AbstractProcessTest::testMustRun()
SigchildDisabledProcessTest::testMustRun 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.

File

vendor/symfony/process/Tests/AbstractProcessTest.php, line 525

Class

AbstractProcessTest
@author Robert Schönthal <seroscho@googlemail.com>

Namespace

Symfony\Component\Process\Tests

Code

public function testMustRun() {
  $process = $this
    ->getProcess('echo foo');
  $this
    ->assertSame($process, $process
    ->mustRun());
  $this
    ->assertEquals('foo' . PHP_EOL, $process
    ->getOutput());
}