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

Function TEST

tests/CppUTestExt/MockStrictOrderTest.cpp:39–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37};
38
39TEST(MockStrictOrderTest, OrderObserved)
40{
41 mock().strictOrder();
42
43 mock().expectOneCall("foo1");
44 mock().expectOneCall("foo2");
45 mock().actualCall("foo1");
46 mock().actualCall("foo2");
47
48 mock().checkExpectations();
49}
50
51TEST(MockStrictOrderTest, someOrderObserved)
52{

Callers

nothing calls this directly

Calls 6

mockFailureTestFunction · 0.85
strictOrderMethod · 0.80
callWasMadeMethod · 0.80
addFunctionOrderedMethod · 0.80
ignoreOtherCallsMethod · 0.80
checkExpectationsMethod · 0.45

Tested by

no test coverage detected