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

Method disable

src/CppUTestExt/MockSupport.cpp:217–223  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

215}
216
217void MockSupport::disable()
218{
219 enabled_ = false;
220
221 for (MockNamedValueListNode* p = data_.begin(); p; p = p->next())
222 if (getMockSupport(p)) getMockSupport(p)->disable();
223}
224
225void MockSupport::enable()
226{

Callers 2

disable_cFunction · 0.45
cloneMethod · 0.45

Calls 2

beginMethod · 0.80
nextMethod · 0.80

Tested by

no test coverage detected