class in charg of build XML report for JUnit.
More...
#include </home/runner/work/tfel/tfel/tfel-check/include/TFEL/Check/PCJUnitDriver.hxx>
|
|
| PCJUnitDriver (const std::string &f="") |
| void | addMessage (const std::string &) override |
| | Append a message to log. Append a message to log (to be implemented by inherited class).
|
| void | addTestResult (const std::string &, const std::string &, const std::string &, const float, const bool, const std::string &="") override |
| | add a test result to log. Append a test result to log (to be implemented by inherited class).
|
| void | reportSkippedTest (const std::string &) override |
| | report that a test has been skipped
|
| void | terminate () override |
| | terminate driver use.
|
|
| ~PCJUnitDriver () override |
| | destructor
|
|
| PCILogDriver () |
| | constructor
|
| | PCILogDriver (std::ostream &) |
| | constructor
|
| | PCILogDriver (const std::string &) |
| | constructor
|
|
| PCILogDriver (PCILogDriver &&) noexcept |
| | move constructor
|
|
| PCILogDriver (const PCILogDriver &) |
| | copy constructor
|
|
virtual | ~PCILogDriver () |
| | destructor
|
|
| std::ostream & | getStream () |
| | get current ostream
|
class in charg of build XML report for JUnit.
◆ addMessage()
| void tfel::check::PCJUnitDriver::addMessage |
( |
const std::string & | | ) |
|
|
overridevirtual |
Append a message to log. Append a message to log (to be implemented by inherited class).
- Parameters
-
| [in] | message | a message to send to log. |
Implements tfel::check::PCILogDriver.
◆ addTestResult()
| void tfel::check::PCJUnitDriver::addTestResult |
( |
const std::string & | testname, |
|
|
const std::string & | step, |
|
|
const std::string & | command, |
|
|
const float | time, |
|
|
const bool | success, |
|
|
const std::string & | message = "" ) |
|
overridevirtual |
add a test result to log. Append a test result to log (to be implemented by inherited class).
- Parameters
-
| testname | a string message explaining the test |
| step | a string describing the current step |
| command | a string describing the test command |
| time | a float, test time execution |
| success | a bool test success |
| message | a string message explaining the test result |
Implements tfel::check::PCILogDriver.
◆ reportSkippedTest()
| void tfel::check::PCJUnitDriver::reportSkippedTest |
( |
const std::string & | | ) |
|
|
overridevirtual |
◆ terminate()
| void tfel::check::PCJUnitDriver::terminate |
( |
| ) |
|
|
overridevirtual |
terminate driver use.
declare end of use of driver to properly close driver (to be overloaded by inherited class if necessary).
Reimplemented from tfel::check::PCILogDriver.
The documentation for this struct was generated from the following file: