mirror of
https://github.com/catchorg/Catch2.git
synced 2025-08-01 12:55:40 +02:00
Previous implementation didn't work
It relied on calling a virtual method from a base constructer
This commit is contained in:
@@ -77,10 +77,12 @@ namespace Catch {
|
||||
TestCaseStats::~TestCaseStats() {}
|
||||
TestGroupStats::~TestGroupStats() {}
|
||||
TestRunStats::~TestRunStats() {}
|
||||
CumulativeReporterBase::SectionNode::~SectionNode() {}
|
||||
CumulativeReporterBase::~CumulativeReporterBase() {}
|
||||
|
||||
StreamingReporterBase::~StreamingReporterBase() {}
|
||||
template<typename DerivedT>
|
||||
CumulativeReporterBase<DerivedT>::SectionNode::~SectionNode() {}
|
||||
template<typename DerivedT>
|
||||
CumulativeReporterBase<DerivedT>::~CumulativeReporterBase() {}
|
||||
template<typename DerivedT>
|
||||
StreamingReporterBase<DerivedT>::~StreamingReporterBase() {}
|
||||
ConsoleReporter::~ConsoleReporter() {}
|
||||
CompactReporter::~CompactReporter() {}
|
||||
IRunner::~IRunner() {}
|
||||
|
@@ -208,13 +208,12 @@ namespace Catch
|
||||
struct IStreamingReporter {
|
||||
virtual ~IStreamingReporter();
|
||||
|
||||
// Implementing class must also provide the following static method:
|
||||
// Implementing class must also provide the following static methods:
|
||||
// static std::string getDescription();
|
||||
// static std::set<Verbosity> getSupportedVerbosities()
|
||||
|
||||
virtual ReporterPreferences getPreferences() const = 0;
|
||||
|
||||
virtual std::set<Verbosity> const& getSupportedVerbosities() const = 0;
|
||||
|
||||
virtual void noMatchingTestCases( std::string const& spec ) = 0;
|
||||
|
||||
virtual void testRunStarting( TestRunInfo const& testRunInfo ) = 0;
|
||||
|
Reference in New Issue
Block a user