Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
217
void 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
225
void MockSupport::enable()
226
{
Callers
2
disable_c
Function · 0.45
clone
Method · 0.45
Calls
2
begin
Method · 0.80
next
Method · 0.80
Tested by
no test coverage detected