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

Method discardCurrentlyMatchingExpectations

src/CppUTestExt/MockActualCall.cpp:128–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126}
127
128void MockCheckedActualCall::discardCurrentlyMatchingExpectations()
129{
130 if (matchingExpectation_)
131 {
132 matchingExpectation_->resetActualCallMatchingState();
133 matchingExpectation_ = NULLPTR;
134 }
135 potentiallyMatchingExpectations_.onlyKeepUnmatchingExpectations();
136}
137
138MockActualCall& MockCheckedActualCall::withName(const SimpleString& name)
139{

Callers

nothing calls this directly

Tested by

no test coverage detected