MCPcopy Create free account
hub / github.com/Profactor/cv-plot / createReporter

Function createReporter

CvPlot/ext/catch2/inc/catch.hpp:13066–13071  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13064 const int MaxExitCode = 255;
13065
13066 IStreamingReporterPtr createReporter(std::string const& reporterName, IConfigPtr const& config) {
13067 auto reporter = Catch::getRegistryHub().getReporterRegistry().create(reporterName, config);
13068 CATCH_ENFORCE(reporter, "No reporter registered with name: '" << reporterName << "'");
13069
13070 return reporter;
13071 }
13072
13073 IStreamingReporterPtr makeReporter(std::shared_ptr<Config> const& config) {
13074 if (Catch::getRegistryHub().getReporterRegistry().getListeners().empty()) {

Callers 1

makeReporterFunction · 0.85

Calls 1

createMethod · 0.45

Tested by

no test coverage detected