libamxp  1.4.0
Patterns C Implementation
test_main.c File Reference
#include <stdlib.h>
#include <setjmp.h>
#include <stdarg.h>
#include <cmocka.h>
#include "test_proc_ctrl.h"

Go to the source code of this file.

Functions

int main (void)
 

Function Documentation

◆ main()

int main ( void  )

Definition at line 62 of file test_main.c.

62  {
63  const struct CMUnitTest tests[] = {
64  cmocka_unit_test(test_proc_ctrl_new_delete),
65  cmocka_unit_test(test_proc_ctrl_start_stop),
68  cmocka_unit_test(test_proc_can_stop_timer),
69  cmocka_unit_test(test_proc_can_stop_children),
70  };
71  return cmocka_run_group_tests_name("amxp-proc-ctrl", tests, NULL, NULL);
72 }
void test_proc_is_stopped_when_timer_expires(UNUSED void **state)
void test_proc_ctrl_start_stop(UNUSED void **state)
void test_proc_can_stop_children(UNUSED void **state)
void test_proc_ctrl_new_delete(UNUSED void **state)
void test_proc_can_stop_timer(UNUSED void **state)
void test_proc_is_stopped_when_timer_is_set_after_start(UNUSED void **state)