aboutsummaryrefslogtreecommitdiffhomepage
path: root/assets/php/vendor/react/event-loop/tests/ExtEvLoopTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'assets/php/vendor/react/event-loop/tests/ExtEvLoopTest.php')
-rw-r--r--assets/php/vendor/react/event-loop/tests/ExtEvLoopTest.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/assets/php/vendor/react/event-loop/tests/ExtEvLoopTest.php b/assets/php/vendor/react/event-loop/tests/ExtEvLoopTest.php
new file mode 100644
index 0000000..ab41c9f
--- /dev/null
+++ b/assets/php/vendor/react/event-loop/tests/ExtEvLoopTest.php
@@ -0,0 +1,17 @@
+<?php
+
+namespace React\Tests\EventLoop;
+
+use React\EventLoop\ExtEvLoop;
+
+class ExtEvLoopTest extends AbstractLoopTest
+{
+ public function createLoop()
+ {
+ if (!class_exists('EvLoop')) {
+ $this->markTestSkipped('ExtEvLoop tests skipped because ext-ev extension is not installed.');
+ }
+
+ return new ExtEvLoop();
+ }
+}