class used to describe an single test
More...
#include </home/runner/work/tfel/tfel/include/TFEL/Tests/TestCase.hxx>
|
|
| TestCase (const TestCase &)=delete |
| | copy constructor (disabled)
|
|
| TestCase (TestCase &&)=delete |
| | move constructor (disabled)
|
|
TestCase & | operator= (const TestCase &)=delete |
| | assignement operator (disabled)
|
|
TestCase & | operator= (TestCase &&)=delete |
| | move assignement operator (disabled)
|
| std::string | name () const override |
| std::string | classname () const override |
| virtual TestResult | execute ()=0 |
| | execute test
|
|
virtual | ~Test () |
| | destructor
|
|
| | TestCase (const std::string &) |
| | constructor
|
| | TestCase (const std::string &, const std::string &) |
| | constructor
|
| virtual void | registerResult (const std::string_view, const bool, const std::string_view=std::string_view{}) |
|
| ~TestCase () override |
| | destructor
|
class used to describe an single test
◆ TestCase() [1/2]
| tfel::tests::TestCase::TestCase |
( |
const std::string & | | ) |
|
|
explicitprotected |
◆ TestCase() [2/2]
| tfel::tests::TestCase::TestCase |
( |
const std::string & | , |
|
|
const std::string & | ) |
|
protected |
constructor
- Parameters
-
| [in] | g | group of the test |
| [in] | n | name of the test |
◆ classname()
| std::string tfel::tests::TestCase::classname |
( |
| ) |
const |
|
nodiscardoverridevirtual |
◆ name()
| std::string tfel::tests::TestCase::name |
( |
| ) |
const |
|
nodiscardoverridevirtual |
◆ registerResult()
| virtual void tfel::tests::TestCase::registerResult |
( |
const std::string_view | , |
|
|
const bool | , |
|
|
const std::string_view | = std::string_view{} ) |
|
protectedvirtual |
- Parameters
-
| [in] | n | description of the test |
| [in] | b | result |
| [in] | e | reason of the failure if any |
The documentation for this struct was generated from the following file: