MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / addReporter

Method addReporter

extlibs/catch/include/catch/catch.hpp:16222–16226  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16220 }
16221
16222 void ListeningReporter::addReporter(IStreamingReporterPtr&& reporter) {
16223 assert(!m_reporter && "Listening reporter can wrap only 1 real reporter");
16224 m_reporter = std::move( reporter );
16225 m_preferences.shouldRedirectStdOut = m_reporter->getPreferences().shouldRedirectStdOut;
16226 }
16227
16228 ReporterPreferences ListeningReporter::getPreferences() const {
16229 return m_preferences;

Callers 1

makeReporterFunction · 0.80

Calls 1

getPreferencesMethod · 0.45

Tested by

no test coverage detected