| @@ 195-203 (lines=9) @@ | ||
| 192 | ||
| 193 | /** Remote Dir methods **/ |
|
| 194 | ||
| 195 | public function seeRemoteDir($dirname) |
|
| 196 | { |
|
| 197 | try { |
|
| 198 | $res = (bool) $this->grabRemoteDir($dirname); |
|
| 199 | } catch (Exception $e) { |
|
| 200 | $res = false; |
|
| 201 | } |
|
| 202 | \PHPUnit_Framework_Assert::assertTrue($res); |
|
| 203 | } |
|
| 204 | ||
| 205 | public function dontSeeRemoteDir($dirname) |
|
| 206 | { |
|
| @@ 205-213 (lines=9) @@ | ||
| 202 | \PHPUnit_Framework_Assert::assertTrue($res); |
|
| 203 | } |
|
| 204 | ||
| 205 | public function dontSeeRemoteDir($dirname) |
|
| 206 | { |
|
| 207 | try { |
|
| 208 | $res = (bool) $this->grabRemoteDir($dirname); |
|
| 209 | } catch (Exception $e) { |
|
| 210 | $res = false; |
|
| 211 | } |
|
| 212 | \PHPUnit_Framework_Assert::assertFalse($res); |
|
| 213 | } |
|
| 214 | ||
| 215 | public function grabRemoteDir($dirname) |
|
| 216 | { |
|