mirror of
https://github.com/catchorg/Catch2.git
synced 2024-12-23 03:43:28 +01:00
Mark first party reporters final
They are not intended to be derived from, so forbidding it explicitly improves our ability to refactor them later.
This commit is contained in:
parent
785436cd74
commit
2c82f82ee2
@ -12,7 +12,7 @@
|
||||
|
||||
namespace Catch {
|
||||
|
||||
struct AutomakeReporter : StreamingReporterBase {
|
||||
struct AutomakeReporter final : StreamingReporterBase {
|
||||
AutomakeReporter( ReporterConfig const& _config )
|
||||
: StreamingReporterBase( _config )
|
||||
{}
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
namespace Catch {
|
||||
|
||||
struct CompactReporter : StreamingReporterBase {
|
||||
struct CompactReporter final : StreamingReporterBase {
|
||||
|
||||
using StreamingReporterBase::StreamingReporterBase;
|
||||
|
||||
|
@ -16,7 +16,7 @@ namespace Catch {
|
||||
struct SummaryColumn;
|
||||
class TablePrinter;
|
||||
|
||||
struct ConsoleReporter : StreamingReporterBase {
|
||||
struct ConsoleReporter final : StreamingReporterBase {
|
||||
Detail::unique_ptr<TablePrinter> m_tablePrinter;
|
||||
|
||||
ConsoleReporter(ReporterConfig const& config);
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
namespace Catch {
|
||||
|
||||
class JunitReporter : public CumulativeReporterBase {
|
||||
class JunitReporter final : public CumulativeReporterBase {
|
||||
public:
|
||||
JunitReporter(ReporterConfig const& _config);
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
namespace Catch {
|
||||
|
||||
struct SonarQubeReporter : CumulativeReporterBase {
|
||||
struct SonarQubeReporter final : CumulativeReporterBase {
|
||||
|
||||
SonarQubeReporter(ReporterConfig const& config)
|
||||
: CumulativeReporterBase(config)
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
namespace Catch {
|
||||
|
||||
struct TAPReporter : StreamingReporterBase {
|
||||
struct TAPReporter final : StreamingReporterBase {
|
||||
|
||||
TAPReporter( ReporterConfig const& config ):
|
||||
StreamingReporterBase( config ) {
|
||||
|
@ -20,7 +20,7 @@
|
||||
|
||||
namespace Catch {
|
||||
|
||||
struct TeamCityReporter : StreamingReporterBase {
|
||||
struct TeamCityReporter final : StreamingReporterBase {
|
||||
TeamCityReporter( ReporterConfig const& _config )
|
||||
: StreamingReporterBase( _config )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user