MCPcopy Create free account
hub / github.com/IronsDu/brynet / StreamingReporterBase

Method StreamingReporterBase

tests/catch.hpp:5735–5742  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5733 struct StreamingReporterBase : IStreamingReporter {
5734
5735 StreamingReporterBase( ReporterConfig const& _config )
5736 : m_config( _config.fullConfig() ),
5737 stream( _config.stream() )
5738 {
5739 m_reporterPrefs.shouldRedirectStdOut = false;
5740 if( !DerivedT::getSupportedVerbosities().count( m_config->verbosity() ) )
5741 CATCH_ERROR( "Verbosity level not supported by this reporter" );
5742 }
5743
5744 ReporterPreferences getPreferences() const override {
5745 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