libamxp
1.4.0
Patterns C Implementation
|
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
#include <stddef.h>
#include <setjmp.h>
#include <fcntl.h>
#include <unistd.h>
#include <cmocka.h>
#include <amxc/amxc_variant.h>
#include <amxc/amxc_lqueue.h>
#include <amxp/amxp_signal.h>
#include <amxp/amxp_slot.h>
#include <amxp_signal_priv.h>
#include "test_signal_slots_global.h"
#include <amxc/amxc_macros.h>
Go to the source code of this file.
Functions | |
static void | test_slot1 (const char *const sig_name, const amxc_var_t *const data, UNUSED void *const priv) |
static void | test_slot2 (const char *const sig_name, const amxc_var_t *const data, UNUSED void *const priv) |
void | test_signal_new (UNUSED void **state) |
void | test_signal_delete (UNUSED void **state) |
void | test_slot_connect (UNUSED void **state) |
void | test_slot_connect_all (UNUSED void **state) |
void | test_signal_trigger (UNUSED void **state) |
void | test_signal_emit (UNUSED void **state) |
void | test_slot_disconnect (UNUSED void **state) |
void | test_signal_disconnect_all (UNUSED void **state) |
void | test_slot_disconnect_all (UNUSED void **state) |
void | test_slot_disconnect_all2 (UNUSED void **state) |
void | test_signal_slot_verify_cleanup (UNUSED void **state) |
Variables | |
static const char * | expected_sig_name = NULL |
static int | count1 = 0 |
static int | count2 = 0 |
void test_signal_delete | ( | UNUSED void ** | state | ) |
Definition at line 151 of file test_signal_slots_global.c.
void test_signal_disconnect_all | ( | UNUSED void ** | state | ) |
Definition at line 452 of file test_signal_slots_global.c.
void test_signal_emit | ( | UNUSED void ** | state | ) |
Definition at line 322 of file test_signal_slots_global.c.
void test_signal_new | ( | UNUSED void ** | state | ) |
Definition at line 115 of file test_signal_slots_global.c.
void test_signal_slot_verify_cleanup | ( | UNUSED void ** | state | ) |
Definition at line 601 of file test_signal_slots_global.c.
void test_signal_trigger | ( | UNUSED void ** | state | ) |
Definition at line 261 of file test_signal_slots_global.c.
|
static |
Definition at line 78 of file test_signal_slots_global.c.
|
static |
Definition at line 96 of file test_signal_slots_global.c.
void test_slot_connect | ( | UNUSED void ** | state | ) |
Definition at line 178 of file test_signal_slots_global.c.
void test_slot_connect_all | ( | UNUSED void ** | state | ) |
Definition at line 212 of file test_signal_slots_global.c.
void test_slot_disconnect | ( | UNUSED void ** | state | ) |
Definition at line 403 of file test_signal_slots_global.c.
void test_slot_disconnect_all | ( | UNUSED void ** | state | ) |
Definition at line 500 of file test_signal_slots_global.c.
void test_slot_disconnect_all2 | ( | UNUSED void ** | state | ) |
Definition at line 550 of file test_signal_slots_global.c.
|
static |
Definition at line 74 of file test_signal_slots_global.c.
|
static |
Definition at line 75 of file test_signal_slots_global.c.
|
static |
Definition at line 73 of file test_signal_slots_global.c.