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

an helper class for gathering multiple outputs. More...

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

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

Public Types

using TestOutputPtr = std::shared_ptr<TestOutput>
 a simple alias

Public Member Functions

 MultipleTestOutputs ()
 default constructor
 MultipleTestOutputs (MultipleTestOutputs &&)=delete
 move constructor (disabled)
 MultipleTestOutputs (const MultipleTestOutputs &)=delete
 copy constructor (disabled)
MultipleTestOutputs & operator= (const MultipleTestOutputs &)=delete
 assignement operator (disabled)
MultipleTestOutputs & operator= (MultipleTestOutputs &&)=delete
 move assignement operator (disabled)
void addTestOutput (const TestOutputPtr &)
 add a test output
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
 end a test suite
 ~MultipleTestOutputs () override
 destructor
Public Member Functions inherited from tfel::tests::TestOutput
virtual ~TestOutput ()
 \bried destructor

Detailed Description

an helper class for gathering multiple outputs.

Member Function Documentation

◆ addTest()

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

add a new test

Parameters
ggroup of the test
nname of the test
rresult of the test

Implements tfel::tests::TestOutput.

◆ addTestOutput()

void tfel::tests::MultipleTestOutputs::addTestOutput ( const TestOutputPtr & )

add a test output

Parameters
ooutput to be added

◆ beginTestSuite()

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

begin a new test suite

Parameters
nname of the test suite

Implements tfel::tests::TestOutput.

◆ endTestSuite()

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

end a test suite

Parameters
r(global) result of the test suite

Implements tfel::tests::TestOutput.


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