![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Rtos API example
case_t Struct Reference
POD data structure of the Case class. More...
#include <utest_case.h>
Inherited by Case [private]
.
Data Fields | |
const char * | description |
Textual description of the test case. | |
const case_handler_t | handler |
Primitive test case handler This is called only if the case setup succeeded. | |
const case_control_handler_t | control_handler |
const case_call_count_handler_t | repeat_count_handler |
const case_setup_handler_t | setup_handler |
Handler called before the execution of the case handler. | |
const case_teardown_handler_t | teardown_handler |
Handler called after the execution of the case handler. | |
const case_failure_handler_t | failure_handler |
Handler called whenever a faillure occur; at any stage of the case execution (including setup and teardown). |
Detailed Description
POD data structure of the Case class.
Unlike the Case class it can be used as a POD and be put in ROM.
- Warning:
- Initialization of handlers with either default_handler or ignore_handler helpers will prevent the object to be a POD. Prefer usage of NULL in favor of ignore_handler or for default handler.
<handler_type>(1)
- See also:
- Case.
Definition at line 44 of file utest_case.h.
Field Documentation
const char* description |
Textual description of the test case.
Definition at line 49 of file utest_case.h.
Generated on Sun Jul 17 2022 08:25:44 by
![doxygen](doxygen.png)