public function AbstractProcessTest::testGetPidIsNullBeforeStart

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

Class

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

Namespace

Symfony\Component\Process\Tests

Code

public function testGetPidIsNullBeforeStart() {
  $process = $this
    ->getProcess('php -r "sleep(1);"');
  $this
    ->assertNull($process
    ->getPid());
}