OpenVPN
simple_test.c
Go to the documentation of this file.
1 #include <stdarg.h>
2 #include <stddef.h>
3 #include <setjmp.h>
4 #include <cmocka.h>
5 
6 /* A test case that does nothing and succeeds. */
7 static void null_test_success(void **state) {
8  (void) state; /* unused */
9 }
10 
11 int main(void) {
12  const struct CMUnitTest tests[] = {
14  };
15 
16  return cmocka_run_group_tests(tests, NULL, NULL);
17 }
#define cmocka_unit_test(f)
Initializes a CMUnitTest structure.
Definition: cmocka.h:1653
int main(void)
Definition: simple_test.c:11
#define cmocka_run_group_tests(group_tests, group_setup, group_teardown)
Definition: cmocka.h:1749
static void null_test_success(void **state)
Definition: simple_test.c:7