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

Function createReporter

unittests/catch.hpp:9090–9095  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9088 const int MaxExitCode = 255;
9089
9090 IStreamingReporterPtr createReporter(std::string const& reporterName, IConfigPtr const& config) {
9091 auto reporter = Catch::getRegistryHub().getReporterRegistry().create(reporterName, config);
9092 CATCH_ENFORCE(reporter, "No reporter registered with name: '" << reporterName << "'");
9093
9094 return reporter;
9095 }
9096
9097#ifndef CATCH_CONFIG_DEFAULT_REPORTER
9098#define CATCH_CONFIG_DEFAULT_REPORTER "console"

Callers 1

makeReporterFunction · 0.85

Calls 1

createMethod · 0.45

Tested by

no test coverage detected