| 17096 | } |
| 17097 | |
| 17098 | void ListeningReporter::addReporter(IStreamingReporterPtr&& reporter) { |
| 17099 | assert(!m_reporter && "Listening reporter can wrap only 1 real reporter"); |
| 17100 | m_reporter = std::move( reporter ); |
| 17101 | m_preferences.shouldRedirectStdOut = m_reporter->getPreferences().shouldRedirectStdOut; |
| 17102 | } |
| 17103 | |
| 17104 | ReporterPreferences ListeningReporter::getPreferences() const { |
| 17105 | return m_preferences; |
no test coverage detected