MCPcopy Create free account
hub / github.com/bitfieldaudio/OTTO / StreamingReporterBase

Method StreamingReporterBase

external/include/catch.hpp:3639–3646  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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;

Callers

nothing calls this directly

Calls 3

fullConfigMethod · 0.80
countMethod · 0.80
verbosityMethod · 0.80

Tested by

no test coverage detected