Instances of this class redirects the output of a TestResult to a standard stream.
More...
#include </home/runner/work/tfel/tfel/include/TFEL/Tests/StdStreamTestOutput.hxx>
Instances of this class redirects the output of a TestResult to a standard stream.
◆ StdStreamTestOutput() [1/3]
| tfel::tests::StdStreamTestOutput::StdStreamTestOutput |
( |
const std::string & | | ) |
|
|
explicit |
◆ StdStreamTestOutput() [2/3]
| tfel::tests::StdStreamTestOutput::StdStreamTestOutput |
( |
std::ostream & | , |
|
|
const bool | = true ) |
|
explicit |
constructor
- Parameters
-
| [in] | o | output stream |
| [in] | b | color output |
◆ StdStreamTestOutput() [3/3]
| tfel::tests::StdStreamTestOutput::StdStreamTestOutput |
( |
const std::shared_ptr< std::ostream > & | , |
|
|
const bool | = false ) |
|
explicit |
Constructor.
- Parameters
-
| [in] | o | output stream |
| [in] | b | color output |
◆ addTest()
| void tfel::tests::StdStreamTestOutput::addTest |
( |
const std::string & | , |
|
|
const std::string & | , |
|
|
const TestResult & | ) |
|
overridevirtual |
add a new test
- Parameters
-
| [in] | g | group of the test |
| [in] | n | name of the test |
| [in] | r | result of the test |
Implements tfel::tests::TestOutput.
◆ beginTestSuite()
| void tfel::tests::StdStreamTestOutput::beginTestSuite |
( |
const std::string & | | ) |
|
|
overridevirtual |
◆ endTestSuite()
| void tfel::tests::StdStreamTestOutput::endTestSuite |
( |
const TestResult & | | ) |
|
|
overridevirtual |
The documentation for this struct was generated from the following file: