Total Complexity | 5 |
Total Lines | 55 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
10 | class DirFlatFailTest extends AStorageTest |
||
11 | { |
||
12 | /** |
||
13 | * @throws FilesException |
||
14 | * @throws PathsException |
||
15 | */ |
||
16 | public function testCreate(): void |
||
21 | } |
||
22 | |||
23 | /** |
||
24 | * @throws FilesException |
||
25 | * @throws PathsException |
||
26 | */ |
||
27 | public function testRead(): void |
||
28 | { |
||
29 | $lib = $this->getDirFlatFailLib(); |
||
30 | $this->expectException(FilesException::class); |
||
31 | $lib->readDir([''], false, true); |
||
32 | } |
||
33 | |||
34 | /** |
||
35 | * @throws FilesException |
||
36 | * @throws PathsException |
||
37 | */ |
||
38 | public function testCopy(): void |
||
39 | { |
||
40 | $lib = $this->getDirFlatFailLib(); |
||
41 | $this->expectException(FilesException::class); |
||
42 | $lib->copyDir(['next_one'], ['more']); |
||
43 | } |
||
44 | |||
45 | /** |
||
46 | * @throws FilesException |
||
47 | * @throws PathsException |
||
48 | */ |
||
49 | public function testMove(): void |
||
54 | } |
||
55 | |||
56 | /** |
||
57 | * @throws FilesException |
||
58 | * @throws PathsException |
||
59 | */ |
||
60 | public function testDelete(): void |
||
65 | } |
||
66 | } |
||
67 |