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