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

17 lines
349 B
PHP
Raw Normal View History

2015-07-11 03:59:39 +02:00
<?php
namespace Amp\Fs\Test;
2015-07-17 16:27:38 +02:00
use Amp\Reactor;
use Amp\NativeReactor;
use Amp\Fs\BlockingFilesystem;
2015-07-11 03:59:39 +02:00
class BlockingFilesystemTest extends FilesystemTest {
2015-07-17 16:27:38 +02:00
protected function getReactor() {
2015-07-11 03:59:39 +02:00
return new NativeReactor;
}
2015-07-17 16:27:38 +02:00
protected function getFilesystem(Reactor $reactor) {
2015-07-11 03:59:39 +02:00
return new BlockingFilesystem($reactor);
}
}