| 394 | } |
| 395 | |
| 396 | void TestContext::reportAssert(const AssertResult& result) FL_NOEXCEPT { |
| 397 | if (result.mPassed) { |
| 398 | mStats.mAssertsPassed++; |
| 399 | } else { |
| 400 | mStats.mAssertsFailed++; |
| 401 | mCurrentTestFailed = true; |
| 402 | } |
| 403 | mReporter->assertResult(result); |
| 404 | } |
| 405 | |
| 406 | void TestContext::checkFailed(const char* expr, const char* file, int line) FL_NOEXCEPT { |
| 407 | AssertResult result(false); |
no test coverage detected