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

Function TEST

tests/CppUTestExt/MockFailureTest.cpp:95–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93};
94
95TEST(MockFailureTest, noErrorFailureSomethingGoneWrong)
96{
97 MockFailure failure(UtestShell::getCurrent());
98 STRCMP_EQUAL("Test failed with MockFailure without an error! Something went seriously wrong.", failure.getMessage().asCharString());
99}
100
101TEST(MockFailureTest, unexpectedCallHappened)
102{

Callers

nothing calls this directly

Calls 9

addAllToListFunction · 0.85
StringFromFormatFunction · 0.85
asCharStringMethod · 0.80
getMessageMethod · 0.80
callWasMadeMethod · 0.80
setValueMethod · 0.80
wasPassedToObjectMethod · 0.45

Tested by

no test coverage detected