1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-05 10:49:36 +02:00
Oinktube/vendor/react/event-loop/tests/ExtLibevLoopTest.php
2021-10-05 13:04:32 -03:00

22 lines
454 B
PHP

<?php
namespace React\Tests\EventLoop;
use React\EventLoop\ExtLibevLoop;
class ExtLibevLoopTest extends AbstractLoopTest
{
public function createLoop()
{
if (!class_exists('libev\EventLoop')) {
$this->markTestSkipped('libev tests skipped because ext-libev is not installed.');
}
return new ExtLibevLoop();
}
public function testLibEvConstructor()
{
$loop = new ExtLibevLoop();
}
}