MCPcopy 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
58TEST(MockPlugin, checkExpectationsAndClearAtEnd)

Callers

nothing calls this directly

Calls 2

clearMethod · 0.45

Tested by

no test coverage detected