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

Method CumulativeReporterBase

unittests/catch.hpp:3872–3879  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3870 using TestRunNode = Node<TestRunStats, TestGroupNode>;
3871
3872 CumulativeReporterBase( ReporterConfig const& _config )
3873 : m_config( _config.fullConfig() ),
3874 stream( _config.stream() )
3875 {
3876 m_reporterPrefs.shouldRedirectStdOut = false;
3877 if( !DerivedT::getSupportedVerbosities().count( m_config->verbosity() ) )
3878 throw std::domain_error( "Verbosity level not supported by this reporter" );
3879 }
3880 ~CumulativeReporterBase() override = default;
3881
3882 ReporterPreferences getPreferences() const override {

Callers

nothing calls this directly

Calls 3

fullConfigMethod · 0.80
verbosityMethod · 0.80
countMethod · 0.45

Tested by

no test coverage detected