Class ReporterRegistry

Synopsis

#include <include/internal/catch_reporter_registry.h>

class ReporterRegistry : public IReporterRegistry

Description

No description yet.

Inheritance

Ancestors: IReporterRegistry

Methods

~ReporterRegistry
create
getFactories
getListeners
registerListener
registerReporter

Source

Lines 17-34 in include/internal/catch_reporter_registry.h.

class ReporterRegistry : public IReporterRegistry {
public:
    ~ReporterRegistry() override;
    IStreamingReporterPtr create( std::string const& name, IConfigPtr const& config ) const override;
    void registerReporter( std::string const& name, IReporterFactoryPtr const& factory );
    void registerListener( IReporterFactoryPtr const& factory );
    FactoryMap const& getFactories() const override;
    Listeners const& getListeners() const override;
private:
    FactoryMap m_factories;
    Listeners m_listeners;
};





Add Discussion as Guest

Log in