public function AbstractProcessTest::testSignalWithWrongNonIntSignal

@expectedException Symfony\Component\Process\Exception\RuntimeException

1 call to AbstractProcessTest::testSignalWithWrongNonIntSignal()
SimpleProcessTest::testSignalWithWrongNonIntSignal in drupal/core/vendor/symfony/process/Symfony/Component/Process/Tests/SimpleProcessTest.php
@expectedException Symfony\Component\Process\Exception\RuntimeException
1 method overrides AbstractProcessTest::testSignalWithWrongNonIntSignal()
SimpleProcessTest::testSignalWithWrongNonIntSignal in drupal/core/vendor/symfony/process/Symfony/Component/Process/Tests/SimpleProcessTest.php
@expectedException Symfony\Component\Process\Exception\RuntimeException

File

drupal/core/vendor/symfony/process/Symfony/Component/Process/Tests/AbstractProcessTest.php, line 503

Class

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

Namespace

Symfony\Component\Process\Tests

Code

public function testSignalWithWrongNonIntSignal() {
  if (defined('PHP_WINDOWS_VERSION_BUILD')) {
    $this
      ->markTestSkipped('POSIX signals do not work on windows');
  }
  $process = $this
    ->getProcess('php -r "sleep(3);"');
  $process
    ->start();
  $process
    ->signal('Céphalopodes');
}