1
0
mirror of https://github.com/danog/file.git synced 2024-12-02 09:17:57 +01:00
file/test/EioDriverTest.php

21 lines
372 B
PHP
Raw Permalink Normal View History

<?php
2015-07-18 18:08:50 +02:00
2015-08-05 16:55:56 +02:00
namespace Amp\File\Test;
2015-07-18 18:08:50 +02:00
2017-06-20 19:37:41 +02:00
use Amp\File;
2018-07-27 21:00:26 +02:00
class EioDriverTest extends DriverTest
{
protected function execute(callable $callback): void
{
2017-06-20 19:37:41 +02:00
if (!\extension_loaded("eio")) {
2015-07-18 18:08:50 +02:00
$this->markTestSkipped(
"eio extension not loaded"
2015-07-18 18:08:50 +02:00
);
}
2017-06-20 19:37:41 +02:00
2018-07-27 21:00:26 +02:00
File\filesystem(new File\EioDriver);
$callback();
2015-07-18 18:08:50 +02:00
}
}