| 2446 | } |
| 2447 | |
| 2448 | void test_run_end(const TestRunStats& p) override { |
| 2449 | if(tc) // the TestSuite tag - only if there has been at least 1 test case |
| 2450 | xml.endElement(); |
| 2451 | |
| 2452 | xml.scopedElement("OverallResultsAsserts") |
| 2453 | .writeAttribute("successes", p.numAsserts - p.numAssertsFailed) |
| 2454 | .writeAttribute("failures", p.numAssertsFailed); |
| 2455 | |
| 2456 | xml.startElement("OverallResultsTestCases") |
| 2457 | .writeAttribute("successes", |
| 2458 | p.numTestCasesPassingFilters - p.numTestCasesFailed) |
| 2459 | .writeAttribute("failures", p.numTestCasesFailed); |
| 2460 | if(opt.no_skipped_summary == false) |
| 2461 | xml.writeAttribute("skipped", p.numTestCases - p.numTestCasesPassingFilters); |
| 2462 | xml.endElement(); |
| 2463 | |
| 2464 | xml.endElement(); |
| 2465 | } |
| 2466 | |
| 2467 | void test_case_start(const TestCaseData& in) override { |
| 2468 | test_case_start_impl(in); |
nothing calls this directly
no test coverage detected