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

Method hasExpectationWithName

src/CppUTestExt/MockExpectedCallsList.cpp:105–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103}
104
105bool MockExpectedCallsList::hasExpectationWithName(const SimpleString& name) const
106{
107 for (MockExpectedCallsListNode* p = head_; p; p = p->next_)
108 if (p->expectedCall_->relatesTo(name))
109 return true;
110 return false;
111}
112
113void MockExpectedCallsList::addExpectedCall(MockCheckedExpectedCall* call)
114{

Callers 1

callIsIgnoredMethod · 0.80

Calls 1

relatesToMethod · 0.80

Tested by

no test coverage detected