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

20 lines
484 B
PHP
Raw Normal View History

2015-07-11 03:59:39 +02:00
<?php
2015-08-05 16:55:56 +02:00
namespace Amp\File\Test;
2015-07-11 03:59:39 +02:00
2015-07-30 16:10:53 +02:00
class UvDriverTest extends DriverTest {
protected function setUp() {
if (\extension_loaded("uv")) {
$reactor = new \Amp\UvReactor;
\Amp\reactor($reactor);
2015-08-05 16:55:56 +02:00
$driver = new \Amp\File\UvDriver($reactor);
\Amp\File\filesystem($driver);
2015-08-13 01:02:41 +02:00
parent::setUp();
2015-07-17 16:27:38 +02:00
} else {
$this->markTestSkipped(
"php-uv extension not loaded"
);
}
2015-07-11 03:59:39 +02:00
}
2015-08-08 16:09:07 +02:00
}