MCPcopy Create free account
hub / github.com/apache/qpid-proton / addReporter

Method addReporter

tests/include/catch.hpp:17102–17106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17100 }
17101
17102 void ListeningReporter::addReporter(IStreamingReporterPtr&& reporter) {
17103 assert(!m_reporter && "Listening reporter can wrap only 1 real reporter");
17104 m_reporter = std::move( reporter );
17105 m_preferences.shouldRedirectStdOut = m_reporter->getPreferences().shouldRedirectStdOut;
17106 }
17107
17108 ReporterPreferences ListeningReporter::getPreferences() const {
17109 return m_preferences;

Callers 1

makeReporterFunction · 0.80

Calls 1

getPreferencesMethod · 0.45

Tested by

no test coverage detected