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