You are here

public function AbstractProcessTest::testGetPidIsNullBeforeStart 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::testGetPidIsNullBeforeStart()
3 calls to AbstractProcessTest::testGetPidIsNullBeforeStart()
SigchildDisabledProcessTest::testGetPidIsNullBeforeStart 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::testGetPidIsNullBeforeStart 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::testGetPidIsNullBeforeStart in vendor/symfony/process/Tests/SimpleProcessTest.php
3 methods override AbstractProcessTest::testGetPidIsNullBeforeStart()
SigchildDisabledProcessTest::testGetPidIsNullBeforeStart 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::testGetPidIsNullBeforeStart 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::testGetPidIsNullBeforeStart in vendor/symfony/process/Tests/SimpleProcessTest.php

File

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

Class

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

Namespace

Symfony\Component\Process\Tests

Code

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