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

Method fail

src/CppUTest/Utest.cpp:374–378  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

372}
373
374void UtestShell::fail(const char *text, const char* fileName, size_t lineNumber, const TestTerminator& testTerminator)
375{
376 getTestResult()->countCheck();
377 failWith(FailFailure(this, fileName, lineNumber, text), testTerminator);
378} // LCOV_EXCL_LINE
379
380void UtestShell::assertCstrEqual(const char* expected, const char* actual, const char* text, const char* fileName, size_t lineNumber, const TestTerminator& testTerminator)
381{

Callers 3

FAIL_TEXT_C_LOCATIONFunction · 0.45
FAIL_C_LOCATIONFunction · 0.45
reportFailureMethod · 0.45

Calls 2

FailFailureClass · 0.85
countCheckMethod · 0.45

Tested by

no test coverage detected