You are here

public function AbstractProcessTest::testSignalWithWrongNonIntSignal 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::testSignalWithWrongNonIntSignal()

@expectedException \Symfony\Component\Process\Exception\RuntimeException

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

File

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

Class

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

Namespace

Symfony\Component\Process\Tests

Code

public function testSignalWithWrongNonIntSignal() {
  if ('\\' === DIRECTORY_SEPARATOR) {
    $this
      ->markTestSkipped('POSIX signals do not work on Windows');
  }
  $process = $this
    ->getProcess(self::$phpBin . ' -r "sleep(3);"');
  $process
    ->start();
  $process
    ->signal('Céphalopodes');
}