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

Function TEST

tests/CppUTestExt/MockParameterTest.cpp:41–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39};
40
41TEST(MockParameterTest, expectOneBooleanParameterAndValue)
42{
43 mock().expectOneCall("foo").withParameter("parameter", true);
44 mock().actualCall("foo").withParameter("parameter", true);
45
46 mock().checkExpectations();
47}
48
49TEST(MockParameterTest, expectOneUnsignedIntegerParameterAndValue)
50{

Callers

nothing calls this directly

Calls 10

mockFailureTestFunction · 0.85
addFunctionMethod · 0.80
setValueMethod · 0.80
setMemoryBufferMethod · 0.80
expectedCallsLeftMethod · 0.80
callWasMadeMethod · 0.80
tracingMethod · 0.80
checkExpectationsMethod · 0.45
getTraceOutputMethod · 0.45

Tested by

no test coverage detected