MCPcopy Create free account
hub / github.com/WarmUpTill/SceneSwitcher / createReporter

Function createReporter

tests/catch.hpp:15414–15423  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15412const int MaxExitCode = 255;
15413
15414IStreamingReporterPtr createReporter(std::string const &reporterName,
15415 IConfigPtr const &config)
15416{
15417 auto reporter = Catch::getRegistryHub().getReporterRegistry().create(
15418 reporterName, config);
15419 CATCH_ENFORCE(reporter, "No reporter registered with name: '"
15420 << reporterName << "'");
15421
15422 return reporter;
15423}
15424
15425IStreamingReporterPtr makeReporter(std::shared_ptr<Config> const &config)
15426{

Callers 1

makeReporterFunction · 0.85

Calls 1

createMethod · 0.45

Tested by

no test coverage detected