MCPcopy Create free account
hub / github.com/ChaiScript/ChaiScript / makeReporter

Function makeReporter

unittests/catch.hpp:9101–9110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

runTestsFunction · 0.85

Calls 3

createReporterFunction · 0.85
addReporterFunction · 0.85
emptyMethod · 0.45

Tested by

no test coverage detected