mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-29 16:53:30 +01:00
Add explanatory comment to CumulativeReporterBase
This commit is contained in:
parent
b10a19545b
commit
c673db7a4e
@ -64,12 +64,15 @@ namespace Catch {
|
|||||||
void testCaseEnded( TestCaseStats const& testCaseStats ) override;
|
void testCaseEnded( TestCaseStats const& testCaseStats ) override;
|
||||||
void testGroupEnded( TestGroupStats const& testGroupStats ) override;
|
void testGroupEnded( TestGroupStats const& testGroupStats ) override;
|
||||||
void testRunEnded( TestRunStats const& testRunStats ) override;
|
void testRunEnded( TestRunStats const& testRunStats ) override;
|
||||||
|
//! Customization point: called after last test finishes (testRunEnded has been handled)
|
||||||
virtual void testRunEndedCumulative() = 0;
|
virtual void testRunEndedCumulative() = 0;
|
||||||
|
|
||||||
void skipTest(TestCaseInfo const&) override {}
|
void skipTest(TestCaseInfo const&) override {}
|
||||||
|
|
||||||
IConfig const* m_config;
|
IConfig const* m_config;
|
||||||
std::ostream& stream;
|
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<TestCaseNode>> m_testCases;
|
||||||
std::vector<std::shared_ptr<TestGroupNode>> m_testGroups;
|
std::vector<std::shared_ptr<TestGroupNode>> m_testGroups;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user