| 5101 | struct StreamingReporterBase : IStreamingReporter { |
| 5102 | |
| 5103 | StreamingReporterBase( ReporterConfig const& _config ) |
| 5104 | : m_config( _config.fullConfig() ), |
| 5105 | stream( _config.stream() ) |
| 5106 | { |
| 5107 | m_reporterPrefs.shouldRedirectStdOut = false; |
| 5108 | if( !DerivedT::getSupportedVerbosities().count( m_config->verbosity() ) ) |
| 5109 | CATCH_ERROR( "Verbosity level not supported by this reporter" ); |
| 5110 | } |
| 5111 | |
| 5112 | ReporterPreferences getPreferences() const override { |
| 5113 | return m_reporterPrefs; |
nothing calls this directly
no test coverage detected