@@ 70-74 (lines=5) @@ | ||
67 | ||
68 | public function setUp() { |
|
69 | $dirSize = count($this->directories); |
|
70 | for ($index = 0; $index < $dirSize; $index++) { |
|
71 | if (!is_dir($this->directories[$index])) { |
|
72 | mkdir($this->directories[$index]); |
|
73 | } |
|
74 | } |
|
75 | $fileSize = count($this->files); |
|
76 | for ($index = 0; $index < $fileSize; $index++) { |
|
77 | if (!is_file($this->files[$index])) { |
|
@@ 93-97 (lines=5) @@ | ||
90 | unlink($this->files[$index]); |
|
91 | } |
|
92 | } |
|
93 | for ($index = 0; $index < $dirSize; $index++) { |
|
94 | if (is_dir($this->directories[$index])) { |
|
95 | rmdir($this->directories[$index]); |
|
96 | } |
|
97 | } |
|
98 | } |
|
99 | ||
100 | /** |