LibEvLoopTest.php 442 B

1234567891011121314151617181920212223
  1. <?php
  2. namespace React\Tests\EventLoop;
  3. use React\EventLoop\LibEvLoop;
  4. class LibEvLoopTest 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 LibEvLoop();
  12. }
  13. public function testLibEvConstructor()
  14. {
  15. $loop = new LibEvLoop();
  16. }
  17. }