1
0
mirror of https://github.com/danog/amp.git synced 2025-01-09 14:38:19 +01:00
amp/test/LibeventReactorTest.php

16 lines
329 B
PHP
Raw Normal View History

2013-08-05 22:05:08 +02:00
<?php
2014-03-06 15:52:31 +01:00
namespace Alert;
2013-08-05 22:05:08 +02:00
class LibeventReactorTest extends ReactorTest {
protected function getReactor() {
if (extension_loaded('libevent')) {
return new LibeventReactor;
} else {
2013-08-05 22:05:08 +02:00
$this->markTestSkipped(
2014-06-11 18:21:46 +02:00
'libevent extension not loaded'
2013-08-05 22:05:08 +02:00
);
}
}
}