#include <stdlib.h>
#include <setjmp.h>
#include <stdarg.h>
#include <cmocka.h>
#include <amxc/amxc.h>
#include "amxc_variant_priv.h"
#include "test_amxc_variant_type.h"
Go to the source code of this file.
◆ main()
Definition at line 64 of file test_main.c.
70 const struct CMUnitTest tests[] = {
79 return cmocka_run_group_tests_name(
"amxc-variant-types", tests, NULL, NULL);
amxc_array_t PRIVATE * amxc_variant_get_types_array(void)
void * amxc_array_it_take_data(amxc_array_it_t *const it)
Gets and removes a data pointer from the iterator.
amxc_array_it_t * amxc_array_get_at(const amxc_array_t *const array, const unsigned int index)
Gets the item iterator for the given index.
#define AMXC_VAR_ID_CUSTOM_BASE
Base variant id for custom variants.
The array iterator structure.
void test_amxc_var_remove_type(UNUSED void **state)
void test_amxc_var_get_type_id_from_name(UNUSED void **state)
void test_amxc_var_get_type(UNUSED void **state)
void test_amxc_var_register_type(UNUSED void **state)
void test_amxc_var_unregister_type(UNUSED void **state)
void test_amxc_var_get_type_name_from_id(UNUSED void **state)
void test_amxc_var_add_type(UNUSED void **state)