Add explanatory comment to CumulativeReporterBase

This commit is contained in:
Martin Hořeňovský 2020-11-26 09:43:52 +01:00
parent b10a19545b
commit c673db7a4e
No known key found for this signature in database
GPG Key ID: DE48307B8B0D381A

View File

@ -64,12 +64,15 @@ namespace Catch {
void testCaseEnded( TestCaseStats const& testCaseStats ) override;
void testGroupEnded( TestGroupStats const& testGroupStats ) override;
void testRunEnded( TestRunStats const& testRunStats ) override;
//! Customization point: called after last test finishes (testRunEnded has been handled)
virtual void testRunEndedCumulative() = 0;
void skipTest(TestCaseInfo const&) override {}
IConfig const* m_config;
std::ostream& stream;
// Note: We rely on pointer identity being stable, which is why
// which is why we store around pointers rather than values.
std::vector<std::shared_ptr<TestCaseNode>> m_testCases;
std::vector<std::shared_ptr<TestGroupNode>> m_testGroups;