| 279 | } |
| 280 | |
| 281 | void MockSupport::failTestWithOutOfOrderCalls() |
| 282 | { |
| 283 | MockExpectedCallsList expectationsList; |
| 284 | expectationsList.addExpectations(expectations_); |
| 285 | |
| 286 | for(MockNamedValueListNode *p = data_.begin();p;p = p->next()) |
| 287 | if(getMockSupport(p)) |
| 288 | expectationsList.addExpectations(getMockSupport(p)->expectations_); |
| 289 | |
| 290 | MockCallOrderFailure failure(activeReporter_->getTestToFail(), expectationsList); |
| 291 | failTest(failure); |
| 292 | } |
| 293 | |
| 294 | void MockSupport::failTest(MockFailure& failure) |
| 295 | { |
nothing calls this directly
no test coverage detected