| 408 | } |
| 409 | |
| 410 | void UtestShell::assertCstrContains(const char* expected, const char* actual, const char* text, const char* fileName, size_t lineNumber) |
| 411 | { |
| 412 | getTestResult()->countCheck(); |
| 413 | if (actual == NULLPTR && expected == NULLPTR) return; |
| 414 | if (actual == NULLPTR || expected == NULLPTR) |
| 415 | failWith(ContainsFailure(this, fileName, lineNumber, expected, actual, text)); |
| 416 | if (!SimpleString(actual).contains(expected)) |
| 417 | failWith(ContainsFailure(this, fileName, lineNumber, expected, actual, text)); |
| 418 | } |
| 419 | |
| 420 | void UtestShell::assertCstrNoCaseContains(const char* expected, const char* actual, const char* text, const char* fileName, size_t lineNumber) |
| 421 | { |
nothing calls this directly
no test coverage detected