MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / createReporter

Function createReporter

extlibs/catch/include/catch/catch.hpp:12669–12674  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12667 const int MaxExitCode = 255;
12668
12669 IStreamingReporterPtr createReporter(std::string const& reporterName, IConfigPtr const& config) {
12670 auto reporter = Catch::getRegistryHub().getReporterRegistry().create(reporterName, config);
12671 CATCH_ENFORCE(reporter, "No reporter registered with name: '" << reporterName << "'");
12672
12673 return reporter;
12674 }
12675
12676 IStreamingReporterPtr makeReporter(std::shared_ptr<Config> const& config) {
12677 if (Catch::getRegistryHub().getReporterRegistry().getListeners().empty()) {

Callers 1

makeReporterFunction · 0.85

Calls 1

createMethod · 0.45

Tested by

no test coverage detected