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

Function createReporter

tests/catch.hpp:10626–10631  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10624 const int MaxExitCode = 255;
10625
10626 IStreamingReporterPtr createReporter(std::string const& reporterName, IConfigPtr const& config) {
10627 auto reporter = Catch::getRegistryHub().getReporterRegistry().create(reporterName, config);
10628 CATCH_ENFORCE(reporter, "No reporter registered with name: '" << reporterName << "'");
10629
10630 return reporter;
10631 }
10632
10633 IStreamingReporterPtr makeReporter(std::shared_ptr<Config> const& config) {
10634 if (Catch::getRegistryHub().getReporterRegistry().getListeners().empty()) {

Callers 1

makeReporterFunction · 0.85

Calls 1

createMethod · 0.45

Tested by

no test coverage detected