MCPcopy Create free account
hub / github.com/CodingGay/BlackDex / createReporter

Function createReporter

Bcore/src/main/cpp/Dobby/tests/catch.hpp:9011–9016  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9009const int MaxExitCode = 255;
9010
9011IStreamingReporterPtr createReporter(std::string const &reporterName, IConfigPtr const &config) {
9012 auto reporter = Catch::getRegistryHub().getReporterRegistry().create(reporterName, config);
9013 CATCH_ENFORCE(reporter, "No reporter registered with name: '" << reporterName << "'");
9014
9015 return reporter;
9016}
9017
9018IStreamingReporterPtr makeReporter(std::shared_ptr<Config> const &config) {
9019 if (Catch::getRegistryHub().getReporterRegistry().getListeners().empty()) {

Callers 1

makeReporterFunction · 0.85

Calls 1

createMethod · 0.45

Tested by

no test coverage detected