| @@ 183-191 (lines=9) @@ | ||
| 180 | ||
| 181 | /** Remote Dir methods **/ |
|
| 182 | ||
| 183 | public function seeRemoteDir($dirname) |
|
| 184 | { |
|
| 185 | try { |
|
| 186 | $res = (bool) $this->grabRemoteDir($dirname); |
|
| 187 | } catch (Exception $e) { |
|
| 188 | $res = false; |
|
| 189 | } |
|
| 190 | \PHPUnit_Framework_Assert::assertTrue($res); |
|
| 191 | } |
|
| 192 | ||
| 193 | public function dontSeeRemoteDir() |
|
| 194 | { |
|
| @@ 193-201 (lines=9) @@ | ||
| 190 | \PHPUnit_Framework_Assert::assertTrue($res); |
|
| 191 | } |
|
| 192 | ||
| 193 | public function dontSeeRemoteDir() |
|
| 194 | { |
|
| 195 | try { |
|
| 196 | $res = (bool) $this->grabRemoteDir($dirname); |
|
| 197 | } catch (Exception $e) { |
|
| 198 | $res = false; |
|
| 199 | } |
|
| 200 | \PHPUnit_Framework_Assert::assertFalse($res); |
|
| 201 | } |
|
| 202 | ||
| 203 | public function grabRemoteDir($dirname) |
|
| 204 | { |
|