| 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; |
no test coverage detected