Fraxinus  22.04-rc3
An IGT application
Catch::CumulativeReporterBase Struct Referenceabstract

#include <catch.hpp>

Inheritance diagram for Catch::CumulativeReporterBase:
Catch::SharedImpl< IStreamingReporter > Catch::IStreamingReporter Catch::IShared Catch::NonCopyable

Classes

struct  Node
 
struct  SectionNode
 

Public Types

typedef Node< TestCaseStats, SectionNodeTestCaseNode
 
typedef Node< TestGroupStats, TestCaseNodeTestGroupNode
 
typedef Node< TestRunStats, TestGroupNodeTestRunNode
 

Public Member Functions

 CumulativeReporterBase (ReporterConfig const &_config)
 
 ~CumulativeReporterBase ()
 
virtual void testRunStarting (TestRunInfo const &)
 
virtual void testGroupStarting (GroupInfo const &)
 
virtual void testCaseStarting (TestCaseInfo const &)
 
virtual void sectionStarting (SectionInfo const &sectionInfo)
 
virtual void assertionStarting (AssertionInfo const &)
 
virtual bool assertionEnded (AssertionStats const &assertionStats)
 
virtual void sectionEnded (SectionStats const &sectionStats)
 
virtual void testCaseEnded (TestCaseStats const &testCaseStats)
 
virtual void testGroupEnded (TestGroupStats const &testGroupStats)
 
virtual void testRunEnded (TestRunStats const &testRunStats)
 
virtual void testRunEnded ()=0
 
- Public Member Functions inherited from Catch::SharedImpl< IStreamingReporter >
 SharedImpl ()
 
virtual void addRef () const
 
virtual void release () const
 
- Public Member Functions inherited from Catch::IStreamingReporter
virtual ~IStreamingReporter ()
 
virtual ReporterPreferences getPreferences () const =0
 
virtual void noMatchingTestCases (std::string const &spec)=0
 
- Public Member Functions inherited from Catch::IShared
virtual ~IShared ()
 

Public Attributes

Ptr< IConfigm_config
 
std::ostream & stream
 
std::vector< AssertionStatsm_assertions
 
std::vector< std::vector< Ptr< SectionNode > > > m_sections
 
std::vector< Ptr< TestCaseNode > > m_testCases
 
std::vector< Ptr< TestGroupNode > > m_testGroups
 
std::vector< Ptr< TestRunNode > > m_testRuns
 
Ptr< SectionNodem_rootSection
 
Ptr< SectionNodem_deepestSection
 
std::vector< Ptr< SectionNode > > m_sectionStack
 
- Public Attributes inherited from Catch::SharedImpl< IStreamingReporter >
unsigned int m_rc
 

Friends

bool operator== (Ptr< SectionNode > const &node, SectionInfo const &other)
 

Additional Inherited Members

- Protected Member Functions inherited from Catch::NonCopyable
 NonCopyable ()
 
virtual ~NonCopyable ()
 

Detailed Description

Definition at line 2569 of file catch.hpp.

Member Typedef Documentation

Constructor & Destructor Documentation

Catch::CumulativeReporterBase::CumulativeReporterBase ( ReporterConfig const &  _config)
inline

Definition at line 2606 of file catch.hpp.

Catch::CumulativeReporterBase::~CumulativeReporterBase ( )

Member Function Documentation

virtual bool Catch::CumulativeReporterBase::assertionEnded ( AssertionStats const &  assertionStats)
inlinevirtual

Implements Catch::IStreamingReporter.

Definition at line 2642 of file catch.hpp.

virtual void Catch::CumulativeReporterBase::assertionStarting ( AssertionInfo const &  )
inlinevirtual

Implements Catch::IStreamingReporter.

Definition at line 2640 of file catch.hpp.

virtual void Catch::CumulativeReporterBase::sectionEnded ( SectionStats const &  sectionStats)
inlinevirtual

Implements Catch::IStreamingReporter.

Definition at line 2648 of file catch.hpp.

virtual void Catch::CumulativeReporterBase::sectionStarting ( SectionInfo const &  sectionInfo)
inlinevirtual

Implements Catch::IStreamingReporter.

Definition at line 2617 of file catch.hpp.

virtual void Catch::CumulativeReporterBase::testCaseEnded ( TestCaseStats const &  testCaseStats)
inlinevirtual

Implements Catch::IStreamingReporter.

Definition at line 2654 of file catch.hpp.

virtual void Catch::CumulativeReporterBase::testCaseStarting ( TestCaseInfo const &  )
inlinevirtual

Implements Catch::IStreamingReporter.

Definition at line 2615 of file catch.hpp.

virtual void Catch::CumulativeReporterBase::testGroupEnded ( TestGroupStats const &  testGroupStats)
inlinevirtual

Implements Catch::IStreamingReporter.

Definition at line 2665 of file catch.hpp.

virtual void Catch::CumulativeReporterBase::testGroupStarting ( GroupInfo const &  )
inlinevirtual

Implements Catch::IStreamingReporter.

Definition at line 2613 of file catch.hpp.

virtual void Catch::CumulativeReporterBase::testRunEnded ( TestRunStats const &  testRunStats)
inlinevirtual

Implements Catch::IStreamingReporter.

Definition at line 2670 of file catch.hpp.

virtual void Catch::CumulativeReporterBase::testRunEnded ( )
pure virtual
virtual void Catch::CumulativeReporterBase::testRunStarting ( TestRunInfo const &  )
inlinevirtual

Implements Catch::IStreamingReporter.

Definition at line 2612 of file catch.hpp.

Friends And Related Function Documentation

bool operator== ( Ptr< SectionNode > const &  node,
SectionInfo const &  other 
)
friend

Definition at line 2598 of file catch.hpp.

Member Data Documentation

std::vector<AssertionStats> Catch::CumulativeReporterBase::m_assertions

Definition at line 2680 of file catch.hpp.

Ptr<IConfig> Catch::CumulativeReporterBase::m_config

Definition at line 2678 of file catch.hpp.

Ptr<SectionNode> Catch::CumulativeReporterBase::m_deepestSection

Definition at line 2688 of file catch.hpp.

Ptr<SectionNode> Catch::CumulativeReporterBase::m_rootSection

Definition at line 2687 of file catch.hpp.

std::vector<std::vector<Ptr<SectionNode> > > Catch::CumulativeReporterBase::m_sections

Definition at line 2681 of file catch.hpp.

std::vector<Ptr<SectionNode> > Catch::CumulativeReporterBase::m_sectionStack

Definition at line 2689 of file catch.hpp.

std::vector<Ptr<TestCaseNode> > Catch::CumulativeReporterBase::m_testCases

Definition at line 2682 of file catch.hpp.

std::vector<Ptr<TestGroupNode> > Catch::CumulativeReporterBase::m_testGroups

Definition at line 2683 of file catch.hpp.

std::vector<Ptr<TestRunNode> > Catch::CumulativeReporterBase::m_testRuns

Definition at line 2685 of file catch.hpp.

std::ostream& Catch::CumulativeReporterBase::stream

Definition at line 2679 of file catch.hpp.


The documentation for this struct was generated from the following file: