| 5736 | struct StreamingReporterBase : IStreamingReporter { |
| 5737 | |
| 5738 | StreamingReporterBase( ReporterConfig const& _config ) |
| 5739 | : m_config( _config.fullConfig() ), |
| 5740 | stream( _config.stream() ) |
| 5741 | { |
| 5742 | m_reporterPrefs.shouldRedirectStdOut = false; |
| 5743 | if( !DerivedT::getSupportedVerbosities().count( m_config->verbosity() ) ) |
| 5744 | CATCH_ERROR( "Verbosity level not supported by this reporter" ); |
| 5745 | } |
| 5746 | |
| 5747 | ReporterPreferences getPreferences() const override { |
| 5748 | return m_reporterPrefs; |
nothing calls this directly
no test coverage detected