Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cpputest/cpputest
/ teardown
Function
teardown
tests/CppUTestExt/MockPluginTest.cpp:49–55 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
47
}
48
49
void teardown()
50
{
51
delete test;
52
delete result;
53
mock().clear();
54
mock().removeAllComparatorsAndCopiers();
55
}
56
};
57
58
TEST(MockPlugin, checkExpectationsAndClearAtEnd)
Callers
nothing calls this directly
Calls
2
removeAllComparatorsAndCopiers
Method · 0.80
clear
Method · 0.45
Tested by
no test coverage detected