|
@@ 165-168 (lines=4) @@
|
| 162 |
|
*/ |
| 163 |
|
private function checkMatchResult($result) |
| 164 |
|
{ |
| 165 |
|
if ($result === true && $this->assertAll === false) { |
| 166 |
|
$this->fail($this->_('At least one items that match with the given criteria')); |
| 167 |
|
|
| 168 |
|
return false; |
| 169 |
|
} |
| 170 |
|
if ($result === false && $this->assertAll === true) { |
| 171 |
|
$this->fail($this->_('At least one items that not match with the given criteria')); |
|
@@ 170-173 (lines=4) @@
|
| 167 |
|
|
| 168 |
|
return false; |
| 169 |
|
} |
| 170 |
|
if ($result === false && $this->assertAll === true) { |
| 171 |
|
$this->fail($this->_('At least one items that not match with the given criteria')); |
| 172 |
|
|
| 173 |
|
return false; |
| 174 |
|
} |
| 175 |
|
|
| 176 |
|
return true; |