Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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 Tue Jul 12 2022 13:33:30 by
 1.7.2
 1.7.2