-------------------------------------------------------------------------------------------
| 697 | |
| 698 | //------------------------------------------------------------------------------------------- |
| 699 | SC::TestCase::TestCase(TestReport& report, StringSpan testName) |
| 700 | : report(report), testName(testName), numTestsSucceeded(0), numTestsFailed(0), numSectionTestsFailed(0), |
| 701 | printedSection(false) |
| 702 | { |
| 703 | if (report.isTestEnabled(testName)) |
| 704 | { |
| 705 | if (not report.quietMode) |
| 706 | { |
| 707 | report.console.print("[[ {} ]]\n\n", testName); |
| 708 | report.console.flush(); |
| 709 | } |
| 710 | report.firstFailedTest = StringSpan(); |
| 711 | report.currentSection = StringSpan(); |
| 712 | } |
| 713 | } |
| 714 | |
| 715 | SC::TestCase::~TestCase() |
| 716 | { |
nothing calls this directly
no test coverage detected