Asterisk - The Open Source Telephony Project GIT-master-b023714
|
Conversions Unit Tests. More...
#include "asterisk.h"
#include "asterisk/test.h"
#include "asterisk/module.h"
#include "asterisk/conversions.h"
Go to the source code of this file.
Macros | |
#define | CATEGORY "/main/conversions/" |
Functions | |
static void | __reg_module (void) |
static void | __unreg_module (void) |
struct ast_module * | AST_MODULE_SELF_SYM (void) |
AST_TEST_DEFINE (str_to_imax) | |
AST_TEST_DEFINE (str_to_int) | |
AST_TEST_DEFINE (str_to_long) | |
AST_TEST_DEFINE (str_to_uint) | |
AST_TEST_DEFINE (str_to_ulong) | |
AST_TEST_DEFINE (str_to_umax) | |
static int | load_module (void) |
static int | unload_module (void) |
Variables | |
static struct ast_module_info | __mod_info = { .name = AST_MODULE, .flags = AST_MODFLAG_LOAD_ORDER , .description = "Conversions test module" , .key = ASTERISK_GPL_KEY , .buildopt_sum = AST_BUILDOPT_SUM, .load = load_module, .unload = unload_module, .load_pri = AST_MODPRI_DEFAULT, .support_level = AST_MODULE_SUPPORT_CORE, } |
static const struct ast_module_info * | ast_module_info = &__mod_info |
Conversions Unit Tests.
Definition in file test_conversions.c.
#define CATEGORY "/main/conversions/" |
Definition at line 38 of file test_conversions.c.
|
static |
Definition at line 345 of file test_conversions.c.
|
static |
Definition at line 345 of file test_conversions.c.
struct ast_module * AST_MODULE_SELF_SYM | ( | void | ) |
Definition at line 345 of file test_conversions.c.
AST_TEST_DEFINE | ( | str_to_imax | ) |
Definition at line 228 of file test_conversions.c.
References ast_str_to_imax(), AST_TEST_NOT_RUN, AST_TEST_PASS, CATEGORY, NULL, str, TEST_EXECUTE, and TEST_INIT.
AST_TEST_DEFINE | ( | str_to_int | ) |
Definition at line 40 of file test_conversions.c.
References ast_str_to_int(), AST_TEST_NOT_RUN, AST_TEST_PASS, CATEGORY, NULL, str, TEST_EXECUTE, and TEST_INIT.
AST_TEST_DEFINE | ( | str_to_long | ) |
Definition at line 134 of file test_conversions.c.
References ast_str_to_long(), AST_TEST_NOT_RUN, AST_TEST_PASS, CATEGORY, NULL, str, TEST_EXECUTE, and TEST_INIT.
AST_TEST_DEFINE | ( | str_to_uint | ) |
Definition at line 90 of file test_conversions.c.
References ast_str_to_uint(), AST_TEST_NOT_RUN, AST_TEST_PASS, CATEGORY, NULL, str, TEST_EXECUTE, and TEST_INIT.
AST_TEST_DEFINE | ( | str_to_ulong | ) |
Definition at line 184 of file test_conversions.c.
References ast_str_to_ulong(), AST_TEST_NOT_RUN, AST_TEST_PASS, CATEGORY, NULL, str, TEST_EXECUTE, and TEST_INIT.
AST_TEST_DEFINE | ( | str_to_umax | ) |
Definition at line 279 of file test_conversions.c.
References ast_str_to_umax(), AST_TEST_NOT_RUN, AST_TEST_PASS, CATEGORY, NULL, str, TEST_EXECUTE, and TEST_INIT.
|
static |
Definition at line 323 of file test_conversions.c.
References AST_MODULE_LOAD_SUCCESS, and AST_TEST_REGISTER.
|
static |
Definition at line 334 of file test_conversions.c.
References AST_TEST_UNREGISTER.
|
static |
Definition at line 345 of file test_conversions.c.
|
static |
Definition at line 345 of file test_conversions.c.