8#ifndef TWOBLUECUBES_CATCH_INTERFACES_REPORTER_H_INCLUDED
9#define TWOBLUECUBES_CATCH_INTERFACES_REPORTER_H_INCLUDED
35 std::ostream&
stream()
const;
39 std::ostream* m_stream;
68 std::size_t _groupIndex,
69 std::size_t _groupsCount );
78 std::vector<MessageInfo>
const& _infoMessages,
95 double _durationInSeconds,
96 bool _missingAssertions );
112 std::string
const& _stdOut,
113 std::string
const& _stdErr,
221 using FactoryMap = std::map<std::string, IReporterFactoryPtr>;
Option & operator=(Option const &_other)
std::unique_ptr< IStreamingReporter > IStreamingReporterPtr
std::shared_ptr< IReporterFactory > IReporterFactoryPtr
std::shared_ptr< IConfig const > IConfigPtr
#define T(meth, val, expected)
unsigned __int64 uint64_t
std::vector< MessageInfo > infoMessages
AssertionStats(AssertionStats &&)=default
AssertionStats & operator=(AssertionStats const &)=delete
AssertionStats(AssertionResult const &_assertionResult, std::vector< MessageInfo > const &_infoMessages, Totals const &_totals)
AssertionStats(AssertionStats const &)=default
AssertionResult assertionResult
virtual ~AssertionStats()
uint64_t elapsedTimeInNanoseconds
GroupInfo(std::string const &_name, std::size_t _groupIndex, std::size_t _groupsCount)
virtual ~IReporterFactory()
virtual std::string getDescription() const =0
virtual IStreamingReporterPtr create(ReporterConfig const &config) const =0
std::map< std::string, IReporterFactoryPtr > FactoryMap
virtual Listeners const & getListeners() const =0
virtual IStreamingReporterPtr create(std::string const &name, IConfigPtr const &config) const =0
std::vector< IReporterFactoryPtr > Listeners
virtual ~IReporterRegistry()
virtual FactoryMap const & getFactories() const =0
virtual void skipTest(TestCaseInfo const &testInfo)=0
virtual ReporterPreferences getPreferences() const =0
virtual void testRunEnded(TestRunStats const &testRunStats)=0
virtual bool assertionEnded(AssertionStats const &assertionStats)=0
virtual bool isMulti() const
virtual ~IStreamingReporter()=default
virtual void testRunStarting(TestRunInfo const &testRunInfo)=0
virtual void testCaseStarting(TestCaseInfo const &testInfo)=0
virtual void sectionStarting(SectionInfo const §ionInfo)=0
virtual void noMatchingTestCases(std::string const &spec)=0
virtual void sectionEnded(SectionStats const §ionStats)=0
virtual void testGroupEnded(TestGroupStats const &testGroupStats)=0
virtual void benchmarkStarting(BenchmarkInfo const &)
virtual void fatalErrorEncountered(StringRef name)
virtual void assertionStarting(AssertionInfo const &assertionInfo)=0
virtual void testCaseEnded(TestCaseStats const &testCaseStats)=0
virtual void benchmarkEnded(BenchmarkStats const &)
virtual void testGroupStarting(GroupInfo const &groupInfo)=0
LazyStat & operator=(T const &_value)
std::ostream & stream() const
IConfigPtr fullConfig() const
ReporterConfig(IConfigPtr const &_fullConfig)
bool shouldReportAllAssertions
bool shouldRedirectStdOut
SectionStats(SectionStats &&)=default
SectionStats(SectionStats const &)=default
SectionStats & operator=(SectionStats const &)=default
SectionStats(SectionInfo const &_sectionInfo, Counts const &_assertions, double _durationInSeconds, bool _missingAssertions)
TestCaseStats(TestCaseStats const &)=default
TestCaseStats & operator=(TestCaseStats const &)=default
TestCaseStats(TestCaseInfo const &_testInfo, Totals const &_totals, std::string const &_stdOut, std::string const &_stdErr, bool _aborting)
TestCaseStats(TestCaseStats &&)=default
TestGroupStats(TestGroupStats &&)=default
TestGroupStats & operator=(TestGroupStats const &)=default
TestGroupStats(TestGroupStats const &)=default
virtual ~TestGroupStats()
TestGroupStats(GroupInfo const &_groupInfo, Totals const &_totals, bool _aborting)
TestRunInfo(std::string const &_name)
TestRunStats(TestRunStats const &)=default
TestRunStats(TestRunInfo const &_runInfo, Totals const &_totals, bool _aborting)
TestRunStats(TestRunStats &&)=default
TestRunStats & operator=(TestRunStats const &)=default