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

Method hasUnfulfilledExpectations

src/CppUTestExt/MockExpectedCallsList.cpp:95–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93}
94
95bool MockExpectedCallsList::hasUnfulfilledExpectations() const
96{
97 for (MockExpectedCallsListNode* p = head_; p; p = p->next_) {
98 if (!p->expectedCall_->isFulfilled()) {
99 return true;
100 }
101 }
102 return false;
103}
104
105bool MockExpectedCallsList::hasExpectationWithName(const SimpleString& name) const
106{

Callers 2

expectedCallsLeftMethod · 0.80
TESTFunction · 0.80

Calls 1

isFulfilledMethod · 0.45

Tested by 1

TESTFunction · 0.64