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

Method assertCompare

src/CppUTest/Utest.cpp:523–528  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

521}
522
523void UtestShell::assertCompare(bool comparison, const char *checkString, const char *comparisonString, const char *text, const char *fileName, size_t lineNumber, const TestTerminator &testTerminator)
524{
525 getTestResult()->countCheck();
526 if (!comparison)
527 failWith(ComparisonFailure(this, fileName, lineNumber, checkString, comparisonString, text), testTerminator);
528}
529
530void UtestShell::print(const char *text, const char* fileName, size_t lineNumber)
531{

Callers

nothing calls this directly

Calls 2

ComparisonFailureClass · 0.85
countCheckMethod · 0.45

Tested by

no test coverage detected