mirror of
https://github.com/amphp/parallel.git
synced 2025-07-18 12:01:24 +02:00
Some checks failed
Continuous Integration / PHP 8.3 on Windows (push) Has been cancelled
Continuous Integration / PHP 8.3 on macOS (push) Has been cancelled
Continuous Integration / PHP 8.1 (push) Has been cancelled
Continuous Integration / PHP 8.2 (push) Has been cancelled
Continuous Integration / PHP 8.3 (push) Has been cancelled
Continuous Integration / PHP 8.4 (push) Has been cancelled
Continuous Integration / PHP 8.2 with ext-parallel (push) Has been cancelled
Continuous Integration / PHP 8.3 with ext-parallel (push) Has been cancelled
Continuous Integration / PHP 8.4 with ext-parallel (push) Has been cancelled
* Skip another test * cs-fix
38 lines
898 B
PHP
38 lines
898 B
PHP
<?php declare(strict_types=1);
|
|
|
|
namespace Amp\Parallel\Test\Context;
|
|
|
|
use Amp\Parallel\Context\Context;
|
|
use Amp\Parallel\Context\ForkContext;
|
|
use Amp\Parallel\Context\ForkContextFactory;
|
|
|
|
class ForkContextTest extends AbstractContextTest
|
|
{
|
|
public function createContext(string|array $script): Context
|
|
{
|
|
if (!ForkContext::isSupported()) {
|
|
$this->markTestSkipped('Not supported on the current platform/driver');
|
|
}
|
|
|
|
return (new ForkContextFactory())->start($script);
|
|
}
|
|
|
|
public function testThrowingProcessOnReceive(): void
|
|
{
|
|
// tmp
|
|
$this->expectNotToPerformAssertions();
|
|
}
|
|
|
|
public function testThrowingProcessOnSend(): void
|
|
{
|
|
// tmp
|
|
$this->expectNotToPerformAssertions();
|
|
}
|
|
|
|
public function testImmediateJoin(): void
|
|
{
|
|
// tmp
|
|
$this->expectNotToPerformAssertions();
|
|
}
|
|
}
|