MCPcopy Create free account
hub / github.com/audeering/opensmile / createReporter

Function createReporter

progsrc/include/tests/catch2/catch.hpp:13125–13130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13123 const int MaxExitCode = 255;
13124
13125 IStreamingReporterPtr createReporter(std::string const& reporterName, IConfigPtr const& config) {
13126 auto reporter = Catch::getRegistryHub().getReporterRegistry().create(reporterName, config);
13127 CATCH_ENFORCE(reporter, "No reporter registered with name: '" << reporterName << "'");
13128
13129 return reporter;
13130 }
13131
13132 IStreamingReporterPtr makeReporter(std::shared_ptr<Config> const& config) {
13133 if (Catch::getRegistryHub().getReporterRegistry().getListeners().empty()) {

Callers 1

makeReporterFunction · 0.85

Calls 1

createMethod · 0.45

Tested by

no test coverage detected