| 313 | } |
| 314 | |
| 315 | bool MockSupport::hasCallsOutOfOrder() |
| 316 | { |
| 317 | if (expectations_.hasCallsOutOfOrder()) |
| 318 | { |
| 319 | return true; |
| 320 | } |
| 321 | for (MockNamedValueListNode* p = data_.begin(); p; p = p->next()) |
| 322 | if (getMockSupport(p) && getMockSupport(p)->hasCallsOutOfOrder()) |
| 323 | { |
| 324 | return true; |
| 325 | } |
| 326 | return false; |
| 327 | } |
| 328 | |
| 329 | void MockSupport::checkExpectations() |
| 330 | { |