$this->skipIfPHPSigchild();// This test use exitcode that is not available in this case
parent::testGetExitCode();
}
publicfunctiontestExitCodeCommandFailed()
{
$this->skipIfPHPSigchild();// This test use exitcode that is not available in this case
parent::testExitCodeCommandFailed();
}
publicfunctiontestProcessIsSignaledIfStopped()
{
$this->expectExceptionIfPHPSigchild('Symfony\Component\Process\Exception\RuntimeException','This PHP has been compiled with --enable-sigchild. Term signal can not be retrieved');
parent::testProcessIsSignaledIfStopped();
}
publicfunctiontestProcessWithTermSignal()
{
$this->expectExceptionIfPHPSigchild('Symfony\Component\Process\Exception\RuntimeException','This PHP has been compiled with --enable-sigchild. Term signal can not be retrieved');
parent::testProcessWithTermSignal();
}
publicfunctiontestProcessIsNotSignaled()
{
$this->expectExceptionIfPHPSigchild('Symfony\Component\Process\Exception\RuntimeException','This PHP has been compiled with --enable-sigchild. Term signal can not be retrieved');
parent::testProcessIsNotSignaled();
}
publicfunctiontestProcessWithoutTermSignal()
{
$this->expectExceptionIfPHPSigchild('Symfony\Component\Process\Exception\RuntimeException','This PHP has been compiled with --enable-sigchild. Term signal can not be retrieved');
parent::testProcessWithoutTermSignal();
}
publicfunctiontestExitCodeText()
{
$this->skipIfPHPSigchild();// This test use exitcode that is not available in this case
parent::testExitCodeText();
}
publicfunctiontestIsSuccessful()
{
$this->skipIfPHPSigchild();// This test use PID that is not available in this case
parent::testIsSuccessful();
}
publicfunctiontestIsNotSuccessful()
{
$this->skipIfPHPSigchild();// This test use PID that is not available in this case
parent::testIsNotSuccessful();
}
publicfunctiontestGetPid()
{
$this->skipIfPHPSigchild();// This test use PID that is not available in this case
parent::testGetPid();
}
publicfunctiontestGetPidIsNullBeforeStart()
{
$this->skipIfPHPSigchild();// This test use PID that is not available in this case
parent::testGetPidIsNullBeforeStart();
}
publicfunctiontestGetPidIsNullAfterRun()
{
$this->skipIfPHPSigchild();// This test use PID that is not available in this case
parent::testGetPidIsNullAfterRun();
}
publicfunctiontestSignal()
{
$this->expectExceptionIfPHPSigchild('Symfony\Component\Process\Exception\RuntimeException','This PHP has been compiled with --enable-sigchild. The process can not be signaled.');
$this->expectExceptionIfPHPSigchild('Symfony\Component\Process\Exception\RuntimeException','This PHP has been compiled with --enable-sigchild. Term signal can not be retrieved');
$this->expectExceptionIfPHPSigchild('Symfony\Component\Process\Exception\RuntimeException','This PHP has been compiled with --enable-sigchild. The process can not be signaled.');
parent::testExitCodeIsAvailableAfterSignal();
}
publicfunctiontestSignalProcessNotRunning()
{
$this->setExpectedException('Symfony\Component\Process\Exception\LogicException','Can not send signal on a non running process.');
parent::testSignalProcessNotRunning();
}
publicfunctiontestSignalWithWrongIntSignal()
{
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 `-4`.');
}
parent::testSignalWithWrongIntSignal();
}
publicfunctiontestSignalWithWrongNonIntSignal()
{
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`.');
$this->expectExceptionIfPHPSigchild('Symfony\Component\Process\Exception\RuntimeException','This PHP has been compiled with --enable-sigchild. The process can not be signaled.');
$this->expectExceptionIfPHPSigchild('Symfony\Component\Process\Exception\RuntimeException','This PHP has been compiled with --enable-sigchild. The process can not be signaled.');