| 43 | } |
| 44 | |
| 45 | void TestReporter::submitFailure(const std::string& suite, |
| 46 | const std::string& name, |
| 47 | const std::string& failureReason, |
| 48 | bool isStrict) { |
| 49 | const TestReport report = {.result = TestResult::Fail, .message = failureReason}; |
| 50 | submitReport(suite, name, report, isStrict); |
| 51 | } |
| 52 | |
| 53 | bool TestReporter::hasFailure() { |
| 54 | return _aggregateStats.fail > 0; |