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

Function TEST

tests/CppUTestExt/MockSupport_cTest.cpp:52–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50};
51
52TEST(MockSupport_c, OrderObserved)
53{
54 mock_c()->strictOrder();
55
56 mock_c()->expectOneCall("foo1");
57 mock_c()->expectOneCall("foo2");
58 mock_c()->actualCall("foo1");
59 mock_c()->actualCall("foo2");
60
61 mock_c()->checkExpectations();
62}
63
64TEST(MockSupport_c, hasReturnValue)
65{

Callers

nothing calls this directly

Calls 15

mock_cFunction · 0.85
mock_scope_cFunction · 0.85
all_mock_support_c_callsFunction · 0.85
strictOrderMethod · 0.80
expectNoCallMethod · 0.80
boolReturnValueMethod · 0.80
intReturnValueMethod · 0.80
longIntReturnValueMethod · 0.80

Tested by

no test coverage detected