1
0
mirror of https://github.com/danog/amp.git synced 2024-12-04 10:28:01 +01:00
amp/test/LibeventReactorTest.php
2014-08-02 02:17:50 -04:00

18 lines
361 B
PHP

<?php
namespace AlertTest;
use Alert\LibeventReactor;
class LibeventReactorTest extends ReactorTest {
protected function getReactor() {
if (extension_loaded('libevent')) {
return new LibeventReactor;
} else {
$this->markTestSkipped(
'libevent extension not loaded'
);
}
}
}