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.
Dependents: TYBLE16_simple_data_logger TYBLE16_MP3_Air
handlers_t Struct Reference
[Frameworks]
A table of handlers. More...
#include <utest_default_handlers.h>
Inherited by DefaultHandlers.
Detailed Description
A table of handlers.
This structure stores all modifyable handlers and provides accessors to filter out the default handler. So if this structure contains handlers, and you want to use these handlers as a default backup, you can use the `get_handler` function to choose the right handler.
Example:
const handler_t defaults = { ... }; // your default handlers // will return the handler in defaults. test_setup_handler_t handler = defaults.get_handler(default_handler); // you will still need to manually check the handler before executing it if (handler != ignore_handler) handler(...); extern test_teardown_handler_t custom_handler(...); // will return `custom_handler` test_teardown_handler_t handler = defaults.get_handler(custom_handler); // you will still need to manually check the handler before executing it if (handler != ignore_handler) handler(...);
Definition at line 101 of file utest_default_handlers.h.
Generated on Tue Jul 12 2022 13:55:45 by
