1
0
mirror of https://github.com/danog/file.git synced 2024-11-30 04:19:39 +01:00
file/test/UvFilesystemTest.php
2015-07-17 10:55:38 -04:00

28 lines
590 B
PHP

<?php
namespace Amp\Fs\Test;
use Amp\Reactor;
use Amp\UvReactor;
use Amp\Fs\UvFilesystem;
class UvFilesystemTest extends FilesystemTest {
protected function getReactor() {
if (extension_loaded('uv')) {
return new UvReactor;
} else {
$this->markTestSkipped(
"php-uv extension not loaded"
);
}
}
protected function getFilesystem(Reactor $reactor) {
return new UvFilesystem($reactor);
}
public function testScandir() {
$this->markTestSkipped("currently crashes php");
}
}