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

Method addReporter

test/expected/catch.hpp:16755–16759  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16753 }
16754
16755 void ListeningReporter::addReporter(IStreamingReporterPtr&& reporter) {
16756 assert(!m_reporter && "Listening reporter can wrap only 1 real reporter");
16757 m_reporter = std::move( reporter );
16758 m_preferences.shouldRedirectStdOut = m_reporter->getPreferences().shouldRedirectStdOut;
16759 }
16760
16761 ReporterPreferences ListeningReporter::getPreferences() const {
16762 return m_preferences;

Callers 1

makeReporterFunction · 0.80

Calls 1

getPreferencesMethod · 0.45

Tested by

no test coverage detected