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

Function failedCallToMockC

tests/CppUTestExt/MockSupport_cTest.cpp:626–630  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

624static bool destructorWasCalled = false;
625
626static void failedCallToMockC()
627{
628 SetBooleanOnDestructorCall setOneDestructor(destructorWasCalled);
629 mock_c()->actualCall("Not a call");
630} // LCOV_EXCL_LINE
631
632// Silly wrapper because of a test that only fails in Visual C++ due to different
633// destructor behaviors

Callers

nothing calls this directly

Calls 1

mock_cFunction · 0.85

Tested by

no test coverage detected