tfel
Loading...
Searching...
No Matches
tfel::tests::TestOutput Struct Referenceabstract

base class for tests' outputs More...

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

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

Public Member Functions

virtual void beginTestSuite (const std::string &)=0
 begin a new test suite
virtual void addTest (const std::string &, const std::string &, const TestResult &)=0
 add a new test
virtual void endTestSuite (const TestResult &)=0
 end a test suite
virtual ~TestOutput ()
 \bried destructor

Detailed Description

base class for tests' outputs

Member Function Documentation

◆ addTest()

virtual void tfel::tests::TestOutput::addTest ( const std::string & ,
const std::string & ,
const TestResult &  )
pure virtual

add a new test

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

Implemented in tfel::tests::MultipleTestOutputs, tfel::tests::StdStreamTestOutput, and tfel::tests::XMLTestOutput.

◆ beginTestSuite()

virtual void tfel::tests::TestOutput::beginTestSuite ( const std::string & )
pure virtual

begin a new test suite

Parameters
[in]nname of the test suite

Implemented in tfel::tests::MultipleTestOutputs, tfel::tests::StdStreamTestOutput, and tfel::tests::XMLTestOutput.

◆ endTestSuite()

virtual void tfel::tests::TestOutput::endTestSuite ( const TestResult & )
pure virtual

end a test suite

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

Implemented in tfel::tests::MultipleTestOutputs, tfel::tests::StdStreamTestOutput, and tfel::tests::XMLTestOutput.


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