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

Function TEST

tests/CppUTestExt/MockSupportTest.cpp:49–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47};
48
49TEST(MockSupportTest, setDataForUnsignedIntegerValues)
50{
51 unsigned int expected_data = 7;
52 mock().setData("data", expected_data);
53 LONGS_EQUAL(expected_data, mock().getData("data").getUnsignedIntValue());
54}
55
56TEST(MockSupportTest, setDataForIntegerValues)
57{

Callers

nothing calls this directly

Calls 15

setDataMethod · 0.80
getUnsignedIntValueMethod · 0.80
getDataMethod · 0.80
getIntValueMethod · 0.80
getBoolValueMethod · 0.80
hasDataMethod · 0.80
asCharStringMethod · 0.80
getTypeMethod · 0.80
getStringValueMethod · 0.80
getDoubleValueMethod · 0.80
getPointerValueMethod · 0.80
getConstPointerValueMethod · 0.80

Tested by

no test coverage detected