Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
catch_ros::ROSReporter Class Reference

#include <ros_junit_reporter.h>

Inheritance diagram for catch_ros::ROSReporter:
Inheritance graph
[legend]

Public Member Functions

virtual bool assertionEnded (Catch::AssertionStats const &assertionStats)
 
virtual void assertionStarting (Catch::AssertionInfo const &assertionInfo)
 
virtual Catch::ReporterPreferences getPreferences () const
 
virtual void noMatchingTestCases (std::string const &spec)
 
 ROSReporter (Catch::ReporterConfig const &_config)
 
virtual void sectionEnded (Catch::SectionStats const &sectionStats)
 
virtual void sectionStarting (Catch::SectionInfo const &sectionInfo)
 
virtual void skipTest (Catch::TestCaseInfo const &testInfo)
 
virtual void testCaseEnded (Catch::TestCaseStats const &testCaseStats)
 
virtual void testCaseStarting (Catch::TestCaseInfo const &testInfo)
 
virtual void testGroupEnded (Catch::TestGroupStats const &testGroupStats)
 
virtual void testGroupStarting (Catch::GroupInfo const &groupInfo)
 
virtual void testRunEnded (Catch::TestRunStats const &testRunStats)
 
virtual void testRunEndedCumulative ()
 
virtual void testRunStarting (Catch::TestRunInfo const &runInfo)
 
void writeAssertion (Catch::AssertionStats const &stats)
 
void writeAssertions (SectionNode const &sectionNode)
 
void writeGroup (TestGroupNode const &groupNode, double suiteTime)
 
void writeRun (TestRunNode const &runNode)
 
void writeSection (std::string const &className, std::string const &rootName, SectionNode const &sectionNode)
 
void writeTestCase (TestCaseNode const &testCaseNode)
 
 ~ROSReporter ()
 

Static Public Member Functions

static std::string getDescription ()
 

Public Attributes

Catch::ConsoleReporter * console
 
std::stringstream consoleOut
 
std::ostringstream stdErrForSuite
 
std::ostringstream stdOutForSuite
 
unsigned int totalUnexpectedExceptions
 
unsigned int unexpectedExceptions
 
Catch::XmlWriter xml
 

Detailed Description

Definition at line 27 of file ros_junit_reporter.h.

Constructor & Destructor Documentation

catch_ros::ROSReporter::ROSReporter ( Catch::ReporterConfig const &  _config)
inline

Definition at line 29 of file ros_junit_reporter.h.

catch_ros::ROSReporter::~ROSReporter ( )
inline

Definition at line 37 of file ros_junit_reporter.h.

Member Function Documentation

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

Definition at line 112 of file ros_junit_reporter.h.

virtual void catch_ros::ROSReporter::assertionStarting ( Catch::AssertionInfo const &  assertionInfo)
inlinevirtual

Definition at line 106 of file ros_junit_reporter.h.

static std::string catch_ros::ROSReporter::getDescription ( )
inlinestatic

Definition at line 43 of file ros_junit_reporter.h.

virtual Catch::ReporterPreferences catch_ros::ROSReporter::getPreferences ( ) const
inlinevirtual

Definition at line 53 of file ros_junit_reporter.h.

virtual void catch_ros::ROSReporter::noMatchingTestCases ( std::string const &  spec)
inlinevirtual

Definition at line 48 of file ros_junit_reporter.h.

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

Definition at line 100 of file ros_junit_reporter.h.

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

Definition at line 94 of file ros_junit_reporter.h.

virtual void catch_ros::ROSReporter::skipTest ( Catch::TestCaseInfo const &  testInfo)
inlinevirtual

Definition at line 139 of file ros_junit_reporter.h.

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

Definition at line 130 of file ros_junit_reporter.h.

virtual void catch_ros::ROSReporter::testCaseStarting ( Catch::TestCaseInfo const &  testInfo)
inlinevirtual

Definition at line 124 of file ros_junit_reporter.h.

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

Definition at line 88 of file ros_junit_reporter.h.

virtual void catch_ros::ROSReporter::testGroupStarting ( Catch::GroupInfo const &  groupInfo)
inlinevirtual

Definition at line 78 of file ros_junit_reporter.h.

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

Definition at line 67 of file ros_junit_reporter.h.

virtual void catch_ros::ROSReporter::testRunEndedCumulative ( )
inlinevirtual

Definition at line 145 of file ros_junit_reporter.h.

virtual void catch_ros::ROSReporter::testRunStarting ( Catch::TestRunInfo const &  runInfo)
inlinevirtual

Definition at line 60 of file ros_junit_reporter.h.

void catch_ros::ROSReporter::writeAssertion ( Catch::AssertionStats const &  stats)
inline

Definition at line 284 of file ros_junit_reporter.h.

void catch_ros::ROSReporter::writeAssertions ( SectionNode const &  sectionNode)
inline

Definition at line 274 of file ros_junit_reporter.h.

void catch_ros::ROSReporter::writeGroup ( TestGroupNode const &  groupNode,
double  suiteTime 
)
inline

Definition at line 178 of file ros_junit_reporter.h.

void catch_ros::ROSReporter::writeRun ( TestRunNode const &  runNode)
inline

Definition at line 150 of file ros_junit_reporter.h.

void catch_ros::ROSReporter::writeSection ( std::string const &  className,
std::string const &  rootName,
SectionNode const &  sectionNode 
)
inline

Definition at line 231 of file ros_junit_reporter.h.

void catch_ros::ROSReporter::writeTestCase ( TestCaseNode const &  testCaseNode)
inline

Definition at line 207 of file ros_junit_reporter.h.

Member Data Documentation

Catch::ConsoleReporter* catch_ros::ROSReporter::console

Definition at line 346 of file ros_junit_reporter.h.

std::stringstream catch_ros::ROSReporter::consoleOut

Definition at line 345 of file ros_junit_reporter.h.

std::ostringstream catch_ros::ROSReporter::stdErrForSuite

Definition at line 340 of file ros_junit_reporter.h.

std::ostringstream catch_ros::ROSReporter::stdOutForSuite

Definition at line 339 of file ros_junit_reporter.h.

unsigned int catch_ros::ROSReporter::totalUnexpectedExceptions

Definition at line 342 of file ros_junit_reporter.h.

unsigned int catch_ros::ROSReporter::unexpectedExceptions

Definition at line 341 of file ros_junit_reporter.h.

Catch::XmlWriter catch_ros::ROSReporter::xml

Definition at line 338 of file ros_junit_reporter.h.


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


catch_ros
Author(s): Max Schwarz
autogenerated on Sat Jun 8 2019 17:59:58