libamxo  4.3.4
Object Definition Language (ODL) parsing
test_main.c File Reference
#include <stdlib.h>
#include <setjmp.h>
#include <stdarg.h>
#include <cmocka.h>
#include "test_import_resolver.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_import_resolver_resolves),
65  cmocka_unit_test(test_import_resolver_invalid_data),
67  cmocka_unit_test(test_import_resolver_multiple_import),
69  cmocka_unit_test(test_can_call_entry_point),
71  cmocka_unit_test(test_entry_point_only_added_once),
74  cmocka_unit_test(test_open_non_existing_file),
75  cmocka_unit_test(test_resolve_non_existing_function),
76  };
77  return cmocka_run_group_tests(tests, NULL, NULL);
78 }
void test_entry_point_only_added_once(UNUSED void **state)
void test_open_non_existing_file(UNUSED void **state)
void test_parsing_fails_when_entry_point_can_not_be_resolved(UNUSED void **state)
void test_import_resolver_import_dlopen_fails(UNUSED void **state)
void test_entry_point_invocation_continues_after_failing_entry_point(UNUSED void **state)
void test_import_resolver_resolves(UNUSED void **state)
void test_can_call_entry_point(UNUSED void **state)
void test_import_resolver_invalid_data(UNUSED void **state)
void test_import_resolver_can_specify_flags(UNUSED void **state)
void test_resolve_non_existing_function(UNUSED void **state)
void test_import_resolver_multiple_import(UNUSED void **state)
void test_entry_point_invoke_does_not_crash_with_invalid_args(UNUSED void **state)