Amxb_Ubus
3.3.1
Ambiorix Ubus API
|
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <stdlib.h>
#include <stdio.h>
#include <dlfcn.h>
#include <stdarg.h>
#include <stddef.h>
#include <setjmp.h>
#include <cmocka.h>
#include <signal.h>
#include <amxc/amxc.h>
#include <amxp/amxp.h>
#include <amxd/amxd_dm.h>
#include <amxb/amxb.h>
#include "test_amxb_ubus_invoke.h"
Go to the source code of this file.
Functions | |
static const char * | test_amxb_ubus_get_socket (void) |
int | test_amxb_ubus_invoke_amx_setup (UNUSED void **state) |
int | test_amxb_ubus_invoke_amx_teardown (UNUSED void **state) |
void | test_ubus_can_call_amx_function (UNUSED void **state) |
static void | test_ubus_invoke_cb (UNUSED const amxb_bus_ctx_t *bus_ctx, UNUSED const amxc_var_t *const data, UNUSED void *priv) |
static void | test_ubus_invoke_done_cb (UNUSED const amxb_bus_ctx_t *bus_ctx, UNUSED amxb_request_t *req, UNUSED int status, UNUSED void *priv) |
void | test_ubus_invoke_with_cb_function (UNUSED void **state) |
void | test_ubus_invoke_amx_with_cb_function (UNUSED void **state) |
void | test_ubus_async_invoke (UNUSED void **state) |
void | test_ubus_async_amx_invoke (UNUSED void **state) |
void | test_ubus_call_non_existing_function (UNUSED void **state) |
void | test_ubus_call_non_existing_function_async (UNUSED void **state) |
void | test_ubus_call_function_non_existing_path (UNUSED void **state) |
void | test_ubus_call_amx_using_index_path (UNUSED void **state) |
void | test_ubus_call_amx_using_key_path (UNUSED void **state) |
void | test_ubus_invoke_amx_with_cb_function_on_non_existing_path (UNUSED void **state) |
Variables | |
static amxb_bus_ctx_t * | bus_ctx = NULL |
|
static |
int test_amxb_ubus_invoke_amx_setup | ( | UNUSED void ** | state | ) |
Definition at line 89 of file test_amxb_ubus_invoke.c.
int test_amxb_ubus_invoke_amx_teardown | ( | UNUSED void ** | state | ) |
void test_ubus_async_amx_invoke | ( | UNUSED void ** | state | ) |
Definition at line 219 of file test_amxb_ubus_invoke.c.
void test_ubus_async_invoke | ( | UNUSED void ** | state | ) |
Definition at line 192 of file test_amxb_ubus_invoke.c.
void test_ubus_call_amx_using_index_path | ( | UNUSED void ** | state | ) |
void test_ubus_call_amx_using_key_path | ( | UNUSED void ** | state | ) |
Definition at line 311 of file test_amxb_ubus_invoke.c.
void test_ubus_call_function_non_existing_path | ( | UNUSED void ** | state | ) |
Definition at line 277 of file test_amxb_ubus_invoke.c.
void test_ubus_call_non_existing_function | ( | UNUSED void ** | state | ) |
Definition at line 241 of file test_amxb_ubus_invoke.c.
void test_ubus_call_non_existing_function_async | ( | UNUSED void ** | state | ) |
Definition at line 257 of file test_amxb_ubus_invoke.c.
void test_ubus_can_call_amx_function | ( | UNUSED void ** | state | ) |
Definition at line 124 of file test_amxb_ubus_invoke.c.
void test_ubus_invoke_amx_with_cb_function | ( | UNUSED void ** | state | ) |
Definition at line 170 of file test_amxb_ubus_invoke.c.
void test_ubus_invoke_amx_with_cb_function_on_non_existing_path | ( | UNUSED void ** | state | ) |
Definition at line 328 of file test_amxb_ubus_invoke.c.
|
static |
|
static |
void test_ubus_invoke_with_cb_function | ( | UNUSED void ** | state | ) |
Definition at line 153 of file test_amxb_ubus_invoke.c.
|
static |
Definition at line 76 of file test_amxb_ubus_invoke.c.