mirror of
https://github.com/danog/file.git
synced 2024-11-30 04:19:39 +01:00
20 lines
484 B
PHP
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"
|
|
);
|
|
}
|
|
}
|
|
}
|