You are here

public function SimpleProcessTest::testSignalWithWrongNonIntSignal in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/process/Tests/SimpleProcessTest.php \Symfony\Component\Process\Tests\SimpleProcessTest::testSignalWithWrongNonIntSignal()

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

Overrides AbstractProcessTest::testSignalWithWrongNonIntSignal

File

vendor/symfony/process/Tests/SimpleProcessTest.php, line 140

Class

SimpleProcessTest

Namespace

Symfony\Component\Process\Tests

Code

public function testSignalWithWrongNonIntSignal() {
  if ($this->enabledSigchild) {
    $this
      ->expectExceptionIfPHPSigchild('Symfony\\Component\\Process\\Exception\\RuntimeException', 'This PHP has been compiled with --enable-sigchild. The process can not be signaled.');
  }
  else {
    $this
      ->setExpectedException('Symfony\\Component\\Process\\Exception\\RuntimeException', 'Error while sending signal `Céphalopodes`.');
  }
  parent::testSignalWithWrongNonIntSignal();
}