| 17067 | } |
| 17068 | |
| 17069 | void ListeningReporter::addReporter(IStreamingReporterPtr&& reporter) { |
| 17070 | assert(!m_reporter && "Listening reporter can wrap only 1 real reporter"); |
| 17071 | m_reporter = std::move( reporter ); |
| 17072 | m_preferences.shouldRedirectStdOut = m_reporter->getPreferences().shouldRedirectStdOut; |
| 17073 | } |
| 17074 | |
| 17075 | ReporterPreferences ListeningReporter::getPreferences() const { |
| 17076 | return m_preferences; |
no test coverage detected