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

Function TEST

tests/CppUTestExt/MockCallTest.cpp:41–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39};
40
41TEST(MockCallTest, clear)
42{
43 mock().expectOneCall("func");
44 mock().clear();
45 CHECK(! mock().expectedCallsLeft());
46}
47
48TEST(MockCallTest, checkExpectationsDoesntFail)
49{

Callers

nothing calls this directly

Calls 15

mockFailureTestFunction · 0.85
expectedCallsLeftMethod · 0.80
addFunctionMethod · 0.80
callWasMadeMethod · 0.80
expectNoCallMethod · 0.80
ignoreOtherCallsMethod · 0.80
strictOrderMethod · 0.80
containsMethod · 0.80
equalsMethod · 0.80
setTestFunctionMethod · 0.80
MockNamedValueClass · 0.50
clearMethod · 0.45

Tested by

no test coverage detected