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 <signal.h>
#include <cmocka.h>
#include <amxc/amxc_variant.h>
#include <amxc/amxc_lqueue.h>
#include <amxp/amxp_subproc.h>
#include <amxp/amxp_syssig.h>
#include <amxp/amxp_slot.h>
#include "test_subproc.h"
#include <amxc/amxc_macros.h>
Go to the source code of this file.
Functions | |
static void | slot_test_subproc_stop (UNUSED const char *const sig_name, UNUSED const amxc_var_t *const data, UNUSED void *const priv) |
static void | handle_events (void) |
void | test_subproc_new_delete (UNUSED void **state) |
void | test_subproc_open_fd (UNUSED void **state) |
void | test_subproc_vstart (UNUSED void **state) |
void | test_subproc_astart (UNUSED void **state) |
void | test_subproc_vstart_read_stdout (UNUSED void **state) |
void | test_subproc_start_read_stdout (UNUSED void **state) |
void | test_subproc_start_crashing_app (UNUSED void **state) |
void | test_subproc_kill (UNUSED void **state) |
void | test_subproc_wait (UNUSED void **state) |
void | test_subproc_helper_functions (UNUSED void **state) |
Variables | |
static bool | subproc_is_running = false |
|
static |
Definition at line 84 of file test_subproc.c.
|
static |
Definition at line 77 of file test_subproc.c.
void test_subproc_astart | ( | UNUSED void ** | state | ) |
Definition at line 171 of file test_subproc.c.
void test_subproc_helper_functions | ( | UNUSED void ** | state | ) |
Definition at line 427 of file test_subproc.c.
void test_subproc_kill | ( | UNUSED void ** | state | ) |
Definition at line 302 of file test_subproc.c.
void test_subproc_new_delete | ( | UNUSED void ** | state | ) |
Definition at line 92 of file test_subproc.c.
void test_subproc_open_fd | ( | UNUSED void ** | state | ) |
Definition at line 118 of file test_subproc.c.
void test_subproc_start_crashing_app | ( | UNUSED void ** | state | ) |
Definition at line 277 of file test_subproc.c.
void test_subproc_start_read_stdout | ( | UNUSED void ** | state | ) |
Definition at line 242 of file test_subproc.c.
void test_subproc_vstart | ( | UNUSED void ** | state | ) |
Definition at line 139 of file test_subproc.c.
void test_subproc_vstart_read_stdout | ( | UNUSED void ** | state | ) |
Definition at line 208 of file test_subproc.c.
void test_subproc_wait | ( | UNUSED void ** | state | ) |
Definition at line 328 of file test_subproc.c.
|
static |
Definition at line 75 of file test_subproc.c.