public function AbstractProcessTest::testGetPidIsNullAfterRun

3 calls to AbstractProcessTest::testGetPidIsNullAfterRun()
SigchildDisabledProcessTest::testGetPidIsNullAfterRun in drupal/core/vendor/symfony/process/Symfony/Component/Process/Tests/SigchildDisabledProcessTest.php
@expectedException Symfony\Component\Process\Exception\RuntimeException
SigchildEnabledProcessTest::testGetPidIsNullAfterRun in drupal/core/vendor/symfony/process/Symfony/Component/Process/Tests/SigchildEnabledProcessTest.php
@expectedException Symfony\Component\Process\Exception\RuntimeException
SimpleProcessTest::testGetPidIsNullAfterRun in drupal/core/vendor/symfony/process/Symfony/Component/Process/Tests/SimpleProcessTest.php
3 methods override AbstractProcessTest::testGetPidIsNullAfterRun()
SigchildDisabledProcessTest::testGetPidIsNullAfterRun in drupal/core/vendor/symfony/process/Symfony/Component/Process/Tests/SigchildDisabledProcessTest.php
@expectedException Symfony\Component\Process\Exception\RuntimeException
SigchildEnabledProcessTest::testGetPidIsNullAfterRun in drupal/core/vendor/symfony/process/Symfony/Component/Process/Tests/SigchildEnabledProcessTest.php
@expectedException Symfony\Component\Process\Exception\RuntimeException
SimpleProcessTest::testGetPidIsNullAfterRun 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 448

Class

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

Namespace

Symfony\Component\Process\Tests

Code

public function testGetPidIsNullAfterRun() {
  $process = $this
    ->getProcess('php -m');
  $process
    ->run();
  $this
    ->assertNull($process
    ->getPid());
}