Amxb_Ubus  3.3.1
Ambiorix Ubus API
test_main.c File Reference
#include <stdlib.h>
#include <setjmp.h>
#include <stdarg.h>
#include <cmocka.h>
#include "test_amxb_ubus_register.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  int rv = 0;
64  const struct CMUnitTest amx_tests[] = {
65  cmocka_unit_test(test_ubus_can_register_dm),
66  cmocka_unit_test(test_ubus_new_objects_are_registered),
69  };
70 
71  rv = cmocka_run_group_tests(amx_tests, test_amxb_ubus_register_setup, test_amxb_ubus_register_teardown);
72  return rv;
73 }
int test_amxb_ubus_register_setup(UNUSED void **state)
void test_ubus_removed_objects_are_unregistered(UNUSED void **state)
void test_ubus_can_register_dm(UNUSED void **state)
void test_ubus_new_root_objects_are_registered(UNUSED void **state)
int test_amxb_ubus_register_teardown(UNUSED void **state)
void test_ubus_new_objects_are_registered(UNUSED void **state)
Here is the call graph for this function: