init
This commit is contained in:
17
vendor/react/event-loop/tests/Timer/LibEventTimerTest.php
vendored
Executable file
17
vendor/react/event-loop/tests/Timer/LibEventTimerTest.php
vendored
Executable file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace React\Tests\EventLoop\Timer;
|
||||
|
||||
use React\EventLoop\LibEventLoop;
|
||||
|
||||
class LibEventTimerTest extends AbstractTimerTest
|
||||
{
|
||||
public function createLoop()
|
||||
{
|
||||
if (!function_exists('event_base_new')) {
|
||||
$this->markTestSkipped('libevent tests skipped because ext-libevent is not installed.');
|
||||
}
|
||||
|
||||
return new LibEventLoop();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user