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

Function parameters_function

examples/AllTests/MockDocumentationTest.cpp:91–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89}
90
91static void parameters_function(int p1, const char* p2)
92{
93 void* object = (void*) 1;
94 mock().actualCall("function").onObject(object).withParameter("p1", p1).withParameter("p2", p2);
95}
96
97TEST(MockDocumentation, parameters)
98{

Callers 1

TESTFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected