|
libamxb
4.8.2
Bus Agnostic C API
|
#include <stdlib.h>#include <stdio.h>#include <dlfcn.h>#include <stdarg.h>#include <stddef.h>#include <setjmp.h>#include <cmocka.h>#include <sys/types.h>#include <signal.h>#include <amxc/amxc.h>#include <amxp/amxp.h>#include <amxd/amxd_dm.h>#include <amxo/amxo.h>#include <amxb/amxb.h>#include <amxb/amxb_register.h>#include "dummy_be.h"#include "test_amxb_local.h"#include <amxc/amxc_macros.h>Go to the source code of this file.
Functions | |
| static void | event_handler (const char *const sig_name, const amxc_var_t *const data, void *const priv) |
| static void | handle_events (void) |
| static void | test_request_done_keep (UNUSED const amxb_bus_ctx_t *bus_ctx, amxb_request_t *req, int status, UNUSED void *priv) |
| static void | test_request_done (UNUSED const amxb_bus_ctx_t *bus_ctx, amxb_request_t *req, int status, UNUSED void *priv) |
| int | test_amxb_local_setup (UNUSED void **state) |
| int | test_amxb_local_teardown (UNUSED void **state) |
| void | test_amxb_call (UNUSED void **state) |
| void | test_amxb_async_call (UNUSED void **state) |
| void | test_amxb_get (UNUSED void **state) |
| void | test_amxb_get_multiple (UNUSED void **state) |
| void | test_amxb_get_instances (UNUSED void **state) |
| void | test_amxb_get_reference (UNUSED void **state) |
| void | test_amxb_get_key_path_reference (UNUSED void **state) |
| void | test_amxb_set (UNUSED void **state) |
| void | test_amxb_add (UNUSED void **state) |
| void | test_amxb_del (UNUSED void **state) |
| void | test_search_path_expr_func (UNUSED void **state) |
| void | test_amxb_subscribe (UNUSED void **state) |
| void | test_amxb_subscribe_non_existing (UNUSED void **state) |
| void | test_amxb_subscribe_twice (UNUSED void **state) |
| void | test_amxb_subscribe_instance (UNUSED void **state) |
| void | test_amxb_publish (UNUSED void **state) |
| static void | test_amxb_list_cb (const amxb_bus_ctx_t *bus_ctx, UNUSED const amxc_var_t *const data, UNUSED void *priv) |
| void | test_amxb_list (UNUSED void **state) |
Variables | |
| static amxb_bus_ctx_t * | bus_ctx = NULL |
| static amxd_dm_t | dm |
| static amxo_parser_t | parser |
|
static |
Definition at line 82 of file test_amxb_local.c.
|
static |
Definition at line 93 of file test_amxb_local.c.
| void test_amxb_add | ( | UNUSED void ** | state | ) |
Definition at line 366 of file test_amxb_local.c.
| void test_amxb_async_call | ( | UNUSED void ** | state | ) |
Definition at line 175 of file test_amxb_local.c.
| void test_amxb_call | ( | UNUSED void ** | state | ) |
Definition at line 157 of file test_amxb_local.c.
| void test_amxb_del | ( | UNUSED void ** | state | ) |
Definition at line 393 of file test_amxb_local.c.
| void test_amxb_get | ( | UNUSED void ** | state | ) |
| void test_amxb_get_instances | ( | UNUSED void ** | state | ) |
Definition at line 268 of file test_amxb_local.c.
| void test_amxb_get_key_path_reference | ( | UNUSED void ** | state | ) |
| void test_amxb_get_multiple | ( | UNUSED void ** | state | ) |
Definition at line 238 of file test_amxb_local.c.
| void test_amxb_get_reference | ( | UNUSED void ** | state | ) |
Definition at line 284 of file test_amxb_local.c.
| void test_amxb_list | ( | UNUSED void ** | state | ) |
Definition at line 494 of file test_amxb_local.c.
|
static |
Definition at line 485 of file test_amxb_local.c.
| int test_amxb_local_setup | ( | UNUSED void ** | state | ) |
Definition at line 121 of file test_amxb_local.c.
| int test_amxb_local_teardown | ( | UNUSED void ** | state | ) |
Definition at line 143 of file test_amxb_local.c.
| void test_amxb_publish | ( | UNUSED void ** | state | ) |
Definition at line 475 of file test_amxb_local.c.
| void test_amxb_set | ( | UNUSED void ** | state | ) |
Definition at line 329 of file test_amxb_local.c.
| void test_amxb_subscribe | ( | UNUSED void ** | state | ) |
Definition at line 427 of file test_amxb_local.c.
| void test_amxb_subscribe_instance | ( | UNUSED void ** | state | ) |
Definition at line 465 of file test_amxb_local.c.
| void test_amxb_subscribe_non_existing | ( | UNUSED void ** | state | ) |
Definition at line 440 of file test_amxb_local.c.
| void test_amxb_subscribe_twice | ( | UNUSED void ** | state | ) |
Definition at line 451 of file test_amxb_local.c.
|
static |
Definition at line 110 of file test_amxb_local.c.
|
static |
Definition at line 101 of file test_amxb_local.c.
| void test_search_path_expr_func | ( | UNUSED void ** | state | ) |
Definition at line 408 of file test_amxb_local.c.
|
static |
Definition at line 78 of file test_amxb_local.c.
|
static |
Definition at line 79 of file test_amxb_local.c.
|
static |
Definition at line 80 of file test_amxb_local.c.