Asterisk - The Open Source Telephony Project
18.5.0
|
Data Fields | |
ast_test_cb_t * | cb |
ast_test_cleanup_cb_t * | cleanup_cb |
struct ast_cli_args * | cli |
CLI arguments, if tests being run from the CLI. More... | |
struct { | |
struct ast_test * next | |
} | entry |
struct ast_test_info | info |
ast_test_init_cb_t * | init_cb |
enum ast_test_result_state | state |
struct ast_str * | status_str |
Test defined status output from last execution. More... | |
unsigned int | time |
ast_test_cb_t* cb |
test callback function
Definition at line 80 of file test.c.
Referenced by ast_test_register_cleanup(), ast_test_register_init(), test_alloc(), test_execute(), and test_remove().
ast_test_cleanup_cb_t* cleanup_cb |
test cleanup function
Definition at line 82 of file test.c.
Referenced by ast_test_register_cleanup(), and test_execute().
struct ast_cli_args* cli |
CLI arguments, if tests being run from the CLI.
If this is set, status updates from the tests will be sent to the CLI in addition to being saved off in status_str.
Definition at line 77 of file test.c.
Referenced by __ast_test_status_update(), ast_test_debug(), and test_execute_multiple().
struct { ... } entry |
struct ast_test_info info |
holds test callback information
Definition at line 66 of file test.c.
Referenced by AST_TEST_DEFINE(), ast_test_register_cleanup(), ast_test_register_init(), complete_test_category(), complete_test_name(), test_alloc(), test_cli_show_registered(), test_cli_show_results(), test_execute(), test_execute_multiple(), test_generate_results(), test_insert(), test_txt_entry(), and test_xml_entry().
ast_test_init_cb_t* init_cb |
test init function
Definition at line 81 of file test.c.
Referenced by ast_test_register_init(), and test_execute().
current test state
Definition at line 78 of file test.c.
Referenced by ast_test_set_result(), test_cli_show_registered(), test_cli_show_results(), test_execute(), test_execute_multiple(), test_txt_entry(), and test_xml_entry().
struct ast_str* status_str |
Test defined status output from last execution.
Definition at line 70 of file test.c.
Referenced by __ast_test_status_update(), test_alloc(), test_execute(), test_free(), test_txt_entry(), and test_xml_entry().
unsigned int time |
time in ms test took
Definition at line 79 of file test.c.
Referenced by test_cli_show_results(), test_execute(), test_execute_multiple(), test_txt_entry(), and test_xml_entry().