@@ 295-303 (lines=9) @@ | ||
292 | * |
|
293 | * @return void |
|
294 | */ |
|
295 | public function seeRemoteDir($dirname) |
|
296 | { |
|
297 | try { |
|
298 | $res = (bool) $this->grabRemoteDir($dirname); |
|
299 | } catch (Exception $e) { |
|
300 | $res = false; |
|
301 | } |
|
302 | \PHPUnit_Framework_Assert::assertTrue($res); |
|
303 | } |
|
304 | ||
305 | /** |
|
306 | * Verify that a remote folder does not exist in the current remote path |
|
@@ 312-320 (lines=9) @@ | ||
309 | * |
|
310 | * @return void |
|
311 | */ |
|
312 | public function dontSeeRemoteDir($dirname) |
|
313 | { |
|
314 | try { |
|
315 | $res = (bool) $this->grabRemoteDir($dirname); |
|
316 | } catch (Exception $e) { |
|
317 | $res = false; |
|
318 | } |
|
319 | \PHPUnit_Framework_Assert::assertFalse($res); |
|
320 | } |
|
321 | ||
322 | /** |
|
323 | * Get the remode folder content |