1
0
mirror of https://github.com/danog/file.git synced 2024-11-26 20:04:51 +01:00
file/test/UvDriverTest.php
2015-08-13 10:15:04 -04:00

20 lines
484 B
PHP

<?php
namespace Amp\File\Test;
class UvDriverTest extends DriverTest {
protected function setUp() {
if (\extension_loaded("uv")) {
$reactor = new \Amp\UvReactor;
\Amp\reactor($reactor);
$driver = new \Amp\File\UvDriver($reactor);
\Amp\File\filesystem($driver);
parent::setUp();
} else {
$this->markTestSkipped(
"php-uv extension not loaded"
);
}
}
}