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

Method assertCstrNoCaseEqual

src/CppUTest/Utest.cpp:400–408  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

398}
399
400void UtestShell::assertCstrNoCaseEqual(const char* expected, const char* actual, const char* text, const char* fileName, size_t lineNumber)
401{
402 getTestResult()->countCheck();
403 if (actual == NULLPTR && expected == NULLPTR) return;
404 if (actual == NULLPTR || expected == NULLPTR)
405 failWith(StringEqualNoCaseFailure(this, fileName, lineNumber, expected, actual, text));
406 if (!SimpleString(expected).equalsNoCase(actual))
407 failWith(StringEqualNoCaseFailure(this, fileName, lineNumber, expected, actual, text));
408}
409
410void UtestShell::assertCstrContains(const char* expected, const char* actual, const char* text, const char* fileName, size_t lineNumber)
411{

Callers

nothing calls this directly

Calls 4

SimpleStringClass · 0.85
equalsNoCaseMethod · 0.80
countCheckMethod · 0.45

Tested by

no test coverage detected