Asterisk - The Open Source Telephony Project GIT-master-b023714
|
Test endpoints. More...
#include "asterisk.h"
#include "asterisk/astobj2.h"
#include "asterisk/endpoints.h"
#include "asterisk/module.h"
#include "asterisk/stasis_endpoints.h"
#include "asterisk/test.h"
Go to the source code of this file.
Functions | |
static void | __reg_module (void) |
static void | __unreg_module (void) |
struct ast_module * | AST_MODULE_SELF_SYM (void) |
AST_TEST_DEFINE (create) | |
AST_TEST_DEFINE (defaults) | |
AST_TEST_DEFINE (setters) | |
static int | load_module (void) |
static int | unload_module (void) |
Variables | |
static struct ast_module_info | __mod_info = { .name = AST_MODULE, .flags = AST_MODFLAG_DEFAULT , .description = "Endpoint testing" , .key = ASTERISK_GPL_KEY , .buildopt_sum = AST_BUILDOPT_SUM, .support_level = AST_MODULE_SUPPORT_CORE, .load = load_module, .unload = unload_module, } |
static const struct ast_module_info * | ast_module_info = &__mod_info |
static const char * | test_category = "/core/endpoints/" |
Test endpoints.
Definition in file test_endpoints.c.
|
static |
Definition at line 157 of file test_endpoints.c.
|
static |
Definition at line 157 of file test_endpoints.c.
struct ast_module * AST_MODULE_SELF_SYM | ( | void | ) |
Definition at line 157 of file test_endpoints.c.
AST_TEST_DEFINE | ( | create | ) |
Definition at line 43 of file test_endpoints.c.
References ast_endpoint_create(), ast_endpoint_get_resource(), ast_endpoint_get_tech(), ast_endpoint_shutdown(), AST_TEST_NOT_RUN, AST_TEST_PASS, NULL, RAII_VAR, test_category, TEST_EXECUTE, and TEST_INIT.
AST_TEST_DEFINE | ( | defaults | ) |
Definition at line 75 of file test_endpoints.c.
References ao2_cleanup, ast_endpoint_create(), ast_endpoint_shutdown(), ast_endpoint_snapshot_create(), AST_ENDPOINT_UNKNOWN, AST_TEST_NOT_RUN, AST_TEST_PASS, NULL, RAII_VAR, test_category, TEST_EXECUTE, and TEST_INIT.
AST_TEST_DEFINE | ( | setters | ) |
Definition at line 106 of file test_endpoints.c.
References ao2_cleanup, ast_endpoint_create(), AST_ENDPOINT_ONLINE, ast_endpoint_set_max_channels(), ast_endpoint_set_state(), ast_endpoint_shutdown(), ast_endpoint_snapshot_create(), AST_TEST_NOT_RUN, AST_TEST_PASS, NULL, RAII_VAR, test_category, TEST_EXECUTE, and TEST_INIT.
|
static |
Definition at line 145 of file test_endpoints.c.
References AST_MODULE_LOAD_SUCCESS, and AST_TEST_REGISTER.
|
static |
Definition at line 137 of file test_endpoints.c.
References AST_TEST_UNREGISTER.
|
static |
Definition at line 157 of file test_endpoints.c.
|
static |
Definition at line 157 of file test_endpoints.c.
|
static |
Definition at line 41 of file test_endpoints.c.
Referenced by AST_TEST_DEFINE(), AST_TEST_DEFINE(), and AST_TEST_DEFINE().