Skip to content

Commit

Permalink
Missing timer tests as pointed out by @clue at reactphp#112 (comment)
Browse files Browse the repository at this point in the history
  • Loading branch information
WyriHaximus committed Dec 10, 2018
1 parent e5209e0 commit 95b7634
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions tests/Timer/ExtUvTimerTest.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?php

namespace React\Tests\EventLoop\Timer;

use React\EventLoop\ExtUvLoop;

class ExtUvTimerTest extends AbstractTimerTest
{
public function createLoop()
{
if (!function_exists('uv_loop_new')) {
$this->markTestSkipped('uv tests skipped because ext-uv is not installed.');
}

return new ExtUvLoop();
}
}

0 comments on commit 95b7634

Please sign in to comment.