| 14551 | ReporterRegistry::~ReporterRegistry() = default; |
| 14552 | |
| 14553 | IStreamingReporterPtr ReporterRegistry::create(std::string const &name, |
| 14554 | IConfigPtr const &config) const |
| 14555 | { |
| 14556 | auto it = m_factories.find(name); |
| 14557 | if (it == m_factories.end()) |
| 14558 | return nullptr; |
| 14559 | return it->second->create(ReporterConfig(config)); |
| 14560 | } |
| 14561 | |
| 14562 | void ReporterRegistry::registerReporter(std::string const &name, |
| 14563 | IReporterFactoryPtr const &factory) |
no test coverage detected