ZeroErr
zeroerr::XmlReporter Class Reference
Inheritance diagram for zeroerr::XmlReporter:
Collaboration diagram for zeroerr::XmlReporter:

Classes

struct  TestCaseTemp
 

Public Member Functions

virtual std::string getName () const override
 
virtual void testStart () override
 
virtual void testCaseStart (const TestCase &tc, std::stringbuf &) override
 
virtual void testCaseEnd (const TestCase &tc, std::stringbuf &sb, const TestContext &ctx, int) override
 
virtual void subCaseStart (const TestCase &tc, std::stringbuf &sb) override
 
virtual void subCaseEnd (const TestCase &tc, std::stringbuf &sb, const TestContext &ctx, int) override
 
virtual void testEnd (const TestContext &tc) override
 
 XmlReporter (UnitTest &ut)
 
- Public Member Functions inherited from zeroerr::IReporter
virtual ~IReporter ()=default
 
 IReporter (UnitTest &ut)
 

Public Attributes

detail::XmlWriter xml
 
std::vector< TestCaseTempcurrent
 

Additional Inherited Members

- Static Public Member Functions inherited from zeroerr::IReporter
static IReportercreate (const std::string &name, UnitTest &ut)
 Create the reporter object with the given name. More...
 
- Protected Attributes inherited from zeroerr::IReporter
UnitTestut
 

Constructor & Destructor Documentation

◆ XmlReporter()

zeroerr::XmlReporter::XmlReporter ( UnitTest ut)
inline

Member Function Documentation

◆ getName()

virtual std::string zeroerr::XmlReporter::getName ( ) const
inlineoverridevirtual

Implements zeroerr::IReporter.

◆ subCaseEnd()

virtual void zeroerr::XmlReporter::subCaseEnd ( const TestCase tc,
std::stringbuf &  sb,
const TestContext ctx,
int   
)
inlineoverridevirtual

Implements zeroerr::IReporter.

◆ subCaseStart()

virtual void zeroerr::XmlReporter::subCaseStart ( const TestCase tc,
std::stringbuf &  sb 
)
inlineoverridevirtual

Implements zeroerr::IReporter.

◆ testCaseEnd()

virtual void zeroerr::XmlReporter::testCaseEnd ( const TestCase tc,
std::stringbuf &  sb,
const TestContext ctx,
int   
)
inlineoverridevirtual

Implements zeroerr::IReporter.

◆ testCaseStart()

virtual void zeroerr::XmlReporter::testCaseStart ( const TestCase tc,
std::stringbuf &   
)
inlineoverridevirtual

Implements zeroerr::IReporter.

◆ testEnd()

virtual void zeroerr::XmlReporter::testEnd ( const TestContext tc)
inlineoverridevirtual

Implements zeroerr::IReporter.

◆ testStart()

virtual void zeroerr::XmlReporter::testStart ( )
inlineoverridevirtual

Implements zeroerr::IReporter.

Member Data Documentation

◆ current

std::vector<TestCaseTemp> zeroerr::XmlReporter::current

◆ xml

detail::XmlWriter zeroerr::XmlReporter::xml

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