Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add PeclEvLoop test.
  • Loading branch information
ivkalita committed Apr 21, 2017
commit 2ef8ff0ebe8352470e78350f37e12e3a694102e6
17 changes: 17 additions & 0 deletions tests/PeclEvLoopTest.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?php

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We usually don't add @author doc blocks.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jsor, thanks, I'll keep that in mind next time 😄. I removed them in 54de798.

namespace React\Tests\EventLoop;

use React\EventLoop\PeclEvLoop;

class PeclEvLoopTest extends AbstractLoopTest
{
public function createLoop()
{
if (!class_exists('EvLoop')) {
$this->markTestSkipped('pecl-ev tests skipped because ext-ev is not installed.');
}

return new PeclEvLoop();
}
}