| 5584 | ReporterRegistry::~ReporterRegistry() = default; |
| 5585 | |
| 5586 | IEventListenerPtr |
| 5587 | ReporterRegistry::create( std::string const& name, |
| 5588 | ReporterConfig&& config ) const { |
| 5589 | auto it = m_impl->factories.find( name ); |
| 5590 | if ( it == m_impl->factories.end() ) return nullptr; |
| 5591 | return it->second->create( CATCH_MOVE( config ) ); |
| 5592 | } |
| 5593 | |
| 5594 | void ReporterRegistry::registerReporter( std::string const& name, |
| 5595 | IReporterFactoryPtr factory ) { |
no test coverage detected