public function AbstractProcessTest::testProcessIsNotSignaled

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

Class

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

Namespace

Symfony\Component\Process\Tests

Code

public function testProcessIsNotSignaled() {
  if (defined('PHP_WINDOWS_VERSION_BUILD')) {
    $this
      ->markTestSkipped('Windows does not support POSIX signals');
  }
  $process = $this
    ->getProcess('php -m');
  $process
    ->run();
  $this
    ->assertFalse($process
    ->hasBeenSignaled());
}