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

Method postTestAction

src/CppUTestExt/MockSupportPlugin.cpp:73–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71}
72
73void MockSupportPlugin::postTestAction(UtestShell& test, TestResult& result)
74{
75 MockSupportPluginReporter reporter(test, result);
76 mock().setMockFailureStandardReporter(&reporter);
77 if (!test.hasFailed())
78 mock().checkExpectations();
79 mock().clear();
80 mock().setMockFailureStandardReporter(NULLPTR);
81 mock().removeAllComparatorsAndCopiers();
82}
83
84void MockSupportPlugin::installComparator(const SimpleString& name, MockNamedValueComparator& comparator)
85{

Callers

nothing calls this directly

Calls 5

hasFailedMethod · 0.45
checkExpectationsMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected