You are here

public function AbstractProcessTest::testIsSuccessful in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/process/Tests/AbstractProcessTest.php \Symfony\Component\Process\Tests\AbstractProcessTest::testIsSuccessful()
2 calls to AbstractProcessTest::testIsSuccessful()
SigchildDisabledProcessTest::testIsSuccessful 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::testIsSuccessful in vendor/symfony/process/Tests/SimpleProcessTest.php
2 methods override AbstractProcessTest::testIsSuccessful()
SigchildDisabledProcessTest::testIsSuccessful 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::testIsSuccessful in vendor/symfony/process/Tests/SimpleProcessTest.php

File

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

Class

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

Namespace

Symfony\Component\Process\Tests

Code

public function testIsSuccessful() {
  $process = $this
    ->getProcess(self::$phpBin . ' -v');
  $process
    ->run();
  $this
    ->assertTrue($process
    ->isSuccessful());
}