MCPcopy Create free account
hub / github.com/RenderKit/oidn / createReporter

Function createReporter

external/catch.hpp:13290–13295  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13288 const int MaxExitCode = 255;
13289
13290 IStreamingReporterPtr createReporter(std::string const& reporterName, IConfigPtr const& config) {
13291 auto reporter = Catch::getRegistryHub().getReporterRegistry().create(reporterName, config);
13292 CATCH_ENFORCE(reporter, "No reporter registered with name: '" << reporterName << "'");
13293
13294 return reporter;
13295 }
13296
13297 IStreamingReporterPtr makeReporter(std::shared_ptr<Config> const& config) {
13298 if (Catch::getRegistryHub().getReporterRegistry().getListeners().empty()) {

Callers 1

makeReporterFunction · 0.85

Calls 1

createMethod · 0.45

Tested by

no test coverage detected