|
Zephyr Project API
3.2.0
A Scalable Open Source RTOS
|
#include <ztest_test_deprecated.h>
Data Fields | |
| const char * | name |
| struct unit_test * | suite |
| bool(* | predicate )(const void *state) |
| struct ztest_suite_stats * | stats |
| const char *const | name |
| const ztest_suite_setup_t | setup |
| const ztest_suite_before_t | before |
| const ztest_suite_after_t | after |
| const ztest_suite_teardown_t | teardown |
| const ztest_suite_predicate_t | predicate |
| struct ztest_suite_stats *const | stats |
A single node of test suite. Each node should be added to a single linker section which will allow ztest_run_registered_test_suites() to iterate over the various nodes.
A single node of test suite. Each node should be added to a single linker section which will allow ztest_run_test_suites() to iterate over the various nodes.
| const ztest_suite_after_t ztest_suite_node::after |
After function
| const ztest_suite_before_t ztest_suite_node::before |
Before function
| const char* ztest_suite_node::name |
The name of the test suite.
| const char* const ztest_suite_node::name |
The name of the test suite.
An optional predicate function to determine if the test should run. If NULL, then the test will only run once on the first attempt.
| state | The current state of the test application. |
| const ztest_suite_predicate_t ztest_suite_node::predicate |
Optional predicate filter
| const ztest_suite_setup_t ztest_suite_node::setup |
Setup function
| struct ztest_suite_stats* ztest_suite_node::stats |
Stats
| struct ztest_suite_stats* const ztest_suite_node::stats |
Stats
| struct unit_test* ztest_suite_node::suite |
Pointer to the test suite.
| const ztest_suite_teardown_t ztest_suite_node::teardown |
Teardown function