| 9099 | #endif |
| 9100 | |
| 9101 | IStreamingReporterPtr makeReporter(std::shared_ptr<Config> const& config) { |
| 9102 | auto const& reporterNames = config->getReporterNames(); |
| 9103 | if (reporterNames.empty()) |
| 9104 | return createReporter(CATCH_CONFIG_DEFAULT_REPORTER, config); |
| 9105 | |
| 9106 | IStreamingReporterPtr reporter; |
| 9107 | for (auto const& name : reporterNames) |
| 9108 | addReporter(reporter, createReporter(name, config)); |
| 9109 | return reporter; |
| 9110 | } |
| 9111 | |
| 9112 | #undef CATCH_CONFIG_DEFAULT_REPORTER |
| 9113 |
no test coverage detected