| 378 | } // LCOV_EXCL_LINE |
| 379 | |
| 380 | void UtestShell::assertCstrEqual(const char* expected, const char* actual, const char* text, const char* fileName, size_t lineNumber, const TestTerminator& testTerminator) |
| 381 | { |
| 382 | getTestResult()->countCheck(); |
| 383 | if (actual == NULLPTR && expected == NULLPTR) return; |
| 384 | if (actual == NULLPTR || expected == NULLPTR) |
| 385 | failWith(StringEqualFailure(this, fileName, lineNumber, expected, actual, text), testTerminator); |
| 386 | if (SimpleString::StrCmp(expected, actual) != 0) |
| 387 | failWith(StringEqualFailure(this, fileName, lineNumber, expected, actual, text), testTerminator); |
| 388 | } |
| 389 | |
| 390 | void UtestShell::assertCstrNEqual(const char* expected, const char* actual, size_t length, const char* text, const char* fileName, size_t lineNumber, const TestTerminator& testTerminator) |
| 391 | { |
no test coverage detected