MCPcopy Create free account
hub / github.com/Predelnik/DSpellCheck / createReporter

Function createReporter

deps/Catch/catch.hpp:13202–13207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13200 const int MaxExitCode = 255;
13201
13202 IStreamingReporterPtr createReporter(std::string const& reporterName, IConfigPtr const& config) {
13203 auto reporter = Catch::getRegistryHub().getReporterRegistry().create(reporterName, config);
13204 CATCH_ENFORCE(reporter, "No reporter registered with name: '" << reporterName << "'");
13205
13206 return reporter;
13207 }
13208
13209 IStreamingReporterPtr makeReporter(std::shared_ptr<Config> const& config) {
13210 if (Catch::getRegistryHub().getReporterRegistry().getListeners().empty()) {

Callers 1

makeReporterFunction · 0.85

Calls 1

createMethod · 0.45

Tested by

no test coverage detected