mirror of
https://github.com/danog/file.git
synced 2024-11-26 20:04:51 +01:00
23 lines
573 B
PHP
23 lines
573 B
PHP
<?php
|
|
|
|
namespace Amp\Filesystem\Test;
|
|
|
|
class UvDriverTest extends DriverTest {
|
|
protected function setUp() {
|
|
if (\extension_loaded("uv")) {
|
|
$reactor = new \Amp\UvReactor;
|
|
\Amp\reactor($reactor);
|
|
$driver = new \Amp\Filesystem\UvDriver($reactor);
|
|
\Amp\Filesystem\filesystem($driver);
|
|
} else {
|
|
$this->markTestSkipped(
|
|
"php-uv extension not loaded"
|
|
);
|
|
}
|
|
}
|
|
|
|
public function testScandir() {
|
|
$this->markTestSkipped("currently crashes php");
|
|
}
|
|
}
|