#include <itest.h>
ITest interface declaration
◆ setup()
called immediately before the test is actually run.
Usually this will be used to setup the test environment.
- Returns
- true upon success
Implemented in TestBase, and TestEnh.
◆ run()
execute the test.
- Parameters
-
testResult | : points to a test result where the test can (optionally) add an error message. |
- Returns
- true upon success
- See also
- ITestResult
Implemented in TestBase.
◆ teardown()
virtual bool teardown |
( |
| ) |
|
|
pure virtual |
called after the test has run.
This method shall be used to deconstruct a test environment that has been setup with ITest::setup ().
- Returns
- true upon success
Implemented in TestBase, and TestEnh.
◆ getDescription()
virtual const char * getDescription |
( |
| ) |
|
|
inlinevirtual |
This function is used to provide information about the performed testcase.
What is done, what is validated and what has to be prepared before executing the test (in case of half-automated tests).
- Returns
- null terminated string upon success, zero otherwise
◆ iid