1
0
mirror of https://github.com/danog/file.git synced 2024-12-02 09:17:57 +01:00
file/test/UvHandleTest.php
Aaron Piotrowski 28bdce091e
Rename Handle to File
Handle interface still provided for backward compatibility.
2019-08-23 14:47:03 -05:00

25 lines
442 B
PHP

<?php
namespace Amp\File\Test;
use Amp\File;
use Amp\Loop;
class UvHandleTest extends AsyncFileTest
{
protected function setUp(): void
{
parent::setUp();
if (!\extension_loaded("uv")) {
$this->markTestSkipped(
"php-uv extension not loaded"
);
}
$loop = new Loop\UvDriver;
Loop::set($loop);
File\filesystem(new File\UvDriver($loop));
}
}