MCPcopy Create free account
hub / github.com/ChaiScript/ChaiScript / StreamingReporterBase

Method StreamingReporterBase

unittests/catch.hpp:3758–3765  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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;

Callers

nothing calls this directly

Calls 3

fullConfigMethod · 0.80
verbosityMethod · 0.80
countMethod · 0.45

Tested by

no test coverage detected