| 1202 | |
| 1203 | namespace { |
| 1204 | IEventListenerPtr createReporter(std::string const& reporterName, ReporterConfig&& config) { |
| 1205 | auto reporter = Catch::getRegistryHub().getReporterRegistry().create(reporterName, CATCH_MOVE(config)); |
| 1206 | CATCH_ENFORCE(reporter, "No reporter registered with name: '" << reporterName << '\''); |
| 1207 | |
| 1208 | return reporter; |
| 1209 | } |
| 1210 | |
| 1211 | IEventListenerPtr prepareReporters(Config const* config) { |
| 1212 | if (Catch::getRegistryHub().getReporterRegistry().getListeners().empty() |
no test coverage detected