| 3637 | struct StreamingReporterBase : IStreamingReporter { |
| 3638 | |
| 3639 | StreamingReporterBase( ReporterConfig const& _config ) |
| 3640 | : m_config( _config.fullConfig() ), |
| 3641 | stream( _config.stream() ) |
| 3642 | { |
| 3643 | m_reporterPrefs.shouldRedirectStdOut = false; |
| 3644 | if( !DerivedT::getSupportedVerbosities().count( m_config->verbosity() ) ) |
| 3645 | throw std::domain_error( "Verbosity level not supported by this reporter" ); |
| 3646 | } |
| 3647 | |
| 3648 | ReporterPreferences getPreferences() const override { |
| 3649 | return m_reporterPrefs; |
nothing calls this directly
no test coverage detected