public function AbstractProcessTest::testIsSuccessful

2 calls to AbstractProcessTest::testIsSuccessful()
SigchildDisabledProcessTest::testIsSuccessful in drupal/core/vendor/symfony/process/Symfony/Component/Process/Tests/SigchildDisabledProcessTest.php
@expectedException \Symfony\Component\Process\Exception\RuntimeException
SimpleProcessTest::testIsSuccessful in drupal/core/vendor/symfony/process/Symfony/Component/Process/Tests/SimpleProcessTest.php
2 methods override AbstractProcessTest::testIsSuccessful()
SigchildDisabledProcessTest::testIsSuccessful in drupal/core/vendor/symfony/process/Symfony/Component/Process/Tests/SigchildDisabledProcessTest.php
@expectedException \Symfony\Component\Process\Exception\RuntimeException
SimpleProcessTest::testIsSuccessful in drupal/core/vendor/symfony/process/Symfony/Component/Process/Tests/SimpleProcessTest.php

File

drupal/core/vendor/symfony/process/Symfony/Component/Process/Tests/AbstractProcessTest.php, line 266

Class

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

Namespace

Symfony\Component\Process\Tests

Code

public function testIsSuccessful() {
  $process = $this
    ->getProcess('php -m');
  $process
    ->run();
  $this
    ->assertTrue($process
    ->isSuccessful());
}