MCPcopy Create free account
hub / github.com/catchorg/Catch2 / registerReporterImpl

Function registerReporterImpl

extras/catch_amalgamated.cpp:11490–11495  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11488 namespace Detail {
11489
11490 void registerReporterImpl( std::string const& name,
11491 IReporterFactoryPtr reporterPtr ) {
11492 CATCH_TRY {
11493 getMutableRegistryHub().registerReporter(
11494 name, CATCH_MOVE( reporterPtr ) );
11495 }
11496 CATCH_CATCH_ALL {
11497 // Do not throw when constructing global objects, instead
11498 // register the exception to be processed later

Callers 1

ReporterRegistrarMethod · 0.70

Calls 1

registerReporterMethod · 0.45

Tested by

no test coverage detected