tfel
Loading...
Searching...
No Matches
tfel::tests::XMLTestOutput Struct Referencefinal

Instances of this class reports tests' outputs in an XML file in the JUnit format. More...

#include </home/runner/work/tfel/tfel/include/TFEL/Tests/XMLTestOutput.hxx>

Inheritance diagram for tfel::tests::XMLTestOutput:
tfel::tests::TestOutput

Public Member Functions

 XMLTestOutput (const std::string &)
 constructor
 XMLTestOutput (const XMLTestOutput &)=delete
XMLTestOutput & operator= (const XMLTestOutput &)=delete
void beginTestSuite (const std::string &) override
 begin a new test suite
void addTest (const std::string &, const std::string &, const TestResult &) override
 add a new test
void endTestSuite (const TestResult &) override
 ~XMLTestOutput () override
 destructor
Public Member Functions inherited from tfel::tests::TestOutput
virtual ~TestOutput ()
 \bried destructor

Detailed Description

Instances of this class reports tests' outputs in an XML file in the JUnit format.

Constructor & Destructor Documentation

◆ XMLTestOutput()

tfel::tests::XMLTestOutput::XMLTestOutput ( const std::string & )
explicit

constructor

Parameters
[in]ooutput file name

Member Function Documentation

◆ addTest()

void tfel::tests::XMLTestOutput::addTest ( const std::string & ,
const std::string & ,
const TestResult &  )
overridevirtual

add a new test

Parameters
[in]ggroup of the test
[in]nname of the test
[in]rresult of the test

Implements tfel::tests::TestOutput.

◆ beginTestSuite()

void tfel::tests::XMLTestOutput::beginTestSuite ( const std::string & )
overridevirtual

begin a new test suite

Parameters
[in]nname of the test suite

Implements tfel::tests::TestOutput.

◆ endTestSuite()

void tfel::tests::XMLTestOutput::endTestSuite ( const TestResult & )
overridevirtual

End a test suite

Parameters
[in]r(global) result of the test suite

Implements tfel::tests::TestOutput.


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