MCPcopy Create free account
hub / github.com/apache/trafficserver / createReporter

Function createReporter

lib/catch2/catch.hpp:13301–13306  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

makeReporterFunction · 0.85

Calls 1

createMethod · 0.45

Tested by

no test coverage detected