ExtLibevLoopTest.php 454 B

12345678910111213141516171819202122
  1. <?php
  2. namespace React\Tests\EventLoop;
  3. use React\EventLoop\ExtLibevLoop;
  4. class ExtLibevLoopTest extends AbstractLoopTest
  5. {
  6. public function createLoop()
  7. {
  8. if (!class_exists('libev\EventLoop')) {
  9. $this->markTestSkipped('libev tests skipped because ext-libev is not installed.');
  10. }
  11. return new ExtLibevLoop();
  12. }
  13. public function testLibEvConstructor()
  14. {
  15. $loop = new ExtLibevLoop();
  16. }
  17. }