1
0
mirror of https://github.com/danog/file.git synced 2025-01-23 05:41:18 +01:00
file/test/EioFilesystemTest.php

17 lines
379 B
PHP
Raw Normal View History

2015-07-18 12:08:50 -04:00
<?php
namespace Amp\Fs\Test;
class EioFilesystemTest extends FilesystemTest {
protected function setUp() {
2015-07-18 12:08:50 -04:00
if (extension_loaded("eio")) {
\Amp\reactor(\Amp\init());
\Amp\Fs\filesystem(new \Amp\Fs\EioFilesystem);
2015-07-18 12:08:50 -04:00
} else {
$this->markTestSkipped(
"eio extension not loaded"
2015-07-18 12:08:50 -04:00
);
}
}
}