| 3756 | struct StreamingReporterBase : IStreamingReporter { |
| 3757 | |
| 3758 | StreamingReporterBase( ReporterConfig const& _config ) |
| 3759 | : m_config( _config.fullConfig() ), |
| 3760 | stream( _config.stream() ) |
| 3761 | { |
| 3762 | m_reporterPrefs.shouldRedirectStdOut = false; |
| 3763 | if( !DerivedT::getSupportedVerbosities().count( m_config->verbosity() ) ) |
| 3764 | throw std::domain_error( "Verbosity level not supported by this reporter" ); |
| 3765 | } |
| 3766 | |
| 3767 | ReporterPreferences getPreferences() const override { |
| 3768 | return m_reporterPrefs; |
nothing calls this directly
no test coverage detected