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

Class ClassFromProductionCodeMock

examples/AllTests/MockDocumentationTest.cpp:71–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69};
70
71class ClassFromProductionCodeMock : public ClassFromProductionCode
72{
73public:
74 virtual void importantFunction()
75 {
76 mock().actualCall("importantFunction").onObject(this);
77 }
78};
79
80TEST(MockDocumentation, SimpleScenarioObject)
81{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected