2016-12-29 20:59:59 -06:00
|
|
|
<?php
|
2015-07-18 12:08:50 -04:00
|
|
|
|
2015-08-05 10:55:56 -04:00
|
|
|
namespace Amp\File\Test;
|
2015-07-18 12:08:50 -04:00
|
|
|
|
2017-06-20 19:37:41 +02:00
|
|
|
use Amp\File;
|
|
|
|
|
2018-10-27 10:57:31 -05:00
|
|
|
class EioDriverTest extends DriverTest
|
|
|
|
{
|
2019-08-23 13:59:26 -05:00
|
|
|
protected function setUp(): void
|
2018-10-27 10:57:31 -05:00
|
|
|
{
|
2019-08-23 13:59:26 -05:00
|
|
|
parent::setUp();
|
|
|
|
|
2017-06-20 19:37:41 +02:00
|
|
|
if (!\extension_loaded("eio")) {
|
2015-07-18 12:08:50 -04:00
|
|
|
$this->markTestSkipped(
|
2015-07-30 09:07:01 -04:00
|
|
|
"eio extension not loaded"
|
2015-07-18 12:08:50 -04:00
|
|
|
);
|
|
|
|
}
|
2017-06-20 19:37:41 +02:00
|
|
|
|
2019-08-23 13:59:26 -05:00
|
|
|
File\filesystem(new File\EioDriver);
|
2015-07-18 12:08:50 -04:00
|
|
|
}
|
|
|
|
}
|