Test Framework API.
More...
Go to the source code of this file.
Test Framework API.
For an overview on how to use the test API, see Asterisk Unit Test API
- Author
- David Vossel dvoss.nosp@m.el@d.nosp@m.igium.nosp@m..com
-
Russell Bryant russe.nosp@m.ll@d.nosp@m.igium.nosp@m..com
Definition in file test.h.
◆ ast_test_debug
#define ast_test_debug |
( |
|
test, |
|
|
|
fmt, |
|
|
|
... |
|
) |
| ast_cli /* Dummy function that should not be called. */ |
◆ AST_TEST_DEFINE
Macros used for defining and registering a test
Definition at line 126 of file test.h.
◆ AST_TEST_REGISTER
#define AST_TEST_REGISTER |
( |
|
cb | ) |
|
◆ ast_test_status_update
#define ast_test_status_update |
( |
|
a, |
|
|
|
b, |
|
|
|
c... |
|
) |
| |
◆ ast_test_suite_event_notify
#define ast_test_suite_event_notify |
( |
|
s, |
|
|
|
f, |
|
|
|
... |
|
) |
| |
Macros used for the Asterisk Test Suite AMI events
Definition at line 189 of file test.h.
◆ AST_TEST_UNREGISTER
#define AST_TEST_UNREGISTER |
( |
|
cb | ) |
|
◆ ast_test_command
Enumerator |
---|
TEST_INIT | |
TEST_EXECUTE | |
Definition at line 199 of file test.h.
◆ ast_test_result_state
Enumerator |
---|
AST_TEST_NOT_RUN | |
AST_TEST_PASS | |
AST_TEST_FAIL | |
Definition at line 193 of file test.h.