MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/SPlisHSPlasH / createReporter

Function createReporter

extern/Catch2/catch.hpp:13299–13304  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13297 const int MaxExitCode = 255;
13298
13299 IStreamingReporterPtr createReporter(std::string const& reporterName, IConfigPtr const& config) {
13300 auto reporter = Catch::getRegistryHub().getReporterRegistry().create(reporterName, config);
13301 CATCH_ENFORCE(reporter, "No reporter registered with name: '" << reporterName << "'");
13302
13303 return reporter;
13304 }
13305
13306 IStreamingReporterPtr makeReporter(std::shared_ptr<Config> const& config) {
13307 if (Catch::getRegistryHub().getReporterRegistry().getListeners().empty()) {

Callers 1

makeReporterFunction · 0.85

Calls 1

createMethod · 0.45

Tested by

no test coverage detected