You are here

public function AbstractProcessTest::testGetPidIsNullAfterRun 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::testGetPidIsNullAfterRun()
3 calls to AbstractProcessTest::testGetPidIsNullAfterRun()
SigchildDisabledProcessTest::testGetPidIsNullAfterRun in vendor/symfony/process/Tests/SigchildDisabledProcessTest.php
@expectedException \Symfony\Component\Process\Exception\RuntimeException @expectedExceptionMessage This PHP has been compiled with --enable-sigchild. The process identifier can not be retrieved.
SigchildEnabledProcessTest::testGetPidIsNullAfterRun in vendor/symfony/process/Tests/SigchildEnabledProcessTest.php
@expectedException \Symfony\Component\Process\Exception\RuntimeException @expectedExceptionMessage This PHP has been compiled with --enable-sigchild. The process identifier can not be retrieved.
SimpleProcessTest::testGetPidIsNullAfterRun in vendor/symfony/process/Tests/SimpleProcessTest.php
3 methods override AbstractProcessTest::testGetPidIsNullAfterRun()
SigchildDisabledProcessTest::testGetPidIsNullAfterRun in vendor/symfony/process/Tests/SigchildDisabledProcessTest.php
@expectedException \Symfony\Component\Process\Exception\RuntimeException @expectedExceptionMessage This PHP has been compiled with --enable-sigchild. The process identifier can not be retrieved.
SigchildEnabledProcessTest::testGetPidIsNullAfterRun in vendor/symfony/process/Tests/SigchildEnabledProcessTest.php
@expectedException \Symfony\Component\Process\Exception\RuntimeException @expectedExceptionMessage This PHP has been compiled with --enable-sigchild. The process identifier can not be retrieved.
SimpleProcessTest::testGetPidIsNullAfterRun in vendor/symfony/process/Tests/SimpleProcessTest.php

File

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

Class

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

Namespace

Symfony\Component\Process\Tests

Code

public function testGetPidIsNullAfterRun() {
  $process = $this
    ->getProcess(self::$phpBin . ' -v');
  $process
    ->run();
  $this
    ->assertNull($process
    ->getPid());
}