MCPcopy Create free account
hub / github.com/cpputest/cpputest / onlyKeepOutOfOrderExpectations

Method onlyKeepOutOfOrderExpectations

src/CppUTestExt/MockExpectedCallsList.cpp:155–161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153}
154
155void MockExpectedCallsList::onlyKeepOutOfOrderExpectations()
156{
157 for (MockExpectedCallsListNode* p = head_; p; p = p->next_)
158 if (!p->expectedCall_->isOutOfOrder())
159 p->expectedCall_ = NULLPTR;
160 pruneEmptyNodeFromList();
161}
162
163void MockExpectedCallsList::onlyKeepUnmatchingExpectations()
164{

Callers 1

MockCallOrderFailureMethod · 0.80

Calls 1

isOutOfOrderMethod · 0.80

Tested by

no test coverage detected