Expectation handling support functionality. More...
Macros | |
| #define | MCUX_CSSL_FP_CONDITIONAL_IMPL(condition, ...) |
| Conditional expectation aggregation. | |
| #define | MCUX_CSSL_FP_VOID_EXPECTATION_IMPL() |
| Implementation of expectation of nothing. | |
| #define | MCUX_CSSL_FP_EXPECT_IMPL(...) |
| Declaration(s) of expected code flow behavior. | |
| #define | MCUX_CSSL_FP_ASSERT_IMPL(...) |
| Assert an expected state of the code flow. | |
Expectation handling support functionality.
| #define MCUX_CSSL_FP_CONDITIONAL_IMPL | ( | condition, | |
| ... ) |
Conditional expectation aggregation.
| condition | Condition under which the given expectations apply |
| expect | One or more (comma separated) declarations of expected code code flow behavior. |
| #define MCUX_CSSL_FP_VOID_EXPECTATION_IMPL | ( | ) |
Implementation of expectation of nothing.
This expectation macro indicates to the flow protection mechanism that nothing is expected to happen. This is mainly intended for internal use (to ensure at least one expectation is passed).
| #define MCUX_CSSL_FP_EXPECT_IMPL | ( | ... | ) |
Declaration(s) of expected code flow behavior.
This macro can be used to indicate expectations in the function body at another location than the function entry or exit.
| expect | One or more (comma separated) declarations of expected code flow behavior. |
| #define MCUX_CSSL_FP_ASSERT_IMPL | ( | ... | ) |
Assert an expected state of the code flow.
| expect | One or more (comma separated) declarations of expected code flow behavior. |