OpenVPN
tests
unit_tests
example_test
test2.c
Go to the documentation of this file.
1
#include <stdio.h>
2
#include <unistd.h>
3
#include <stdlib.h>
4
#include <stdarg.h>
5
#include <string.h>
6
#include <setjmp.h>
7
#include <stdint.h>
8
#include <cmocka.h>
9
10
11
static
void
12
test_true
(
void
**state)
13
{
14
(void) state;
15
}
16
17
18
int
19
main
(
void
)
20
{
21
const
struct
CMUnitTest tests[] = {
22
cmocka_unit_test(
test_true
),
23
};
24
25
return
cmocka_run_group_tests_name(
"success_test2"
, tests, NULL, NULL);
26
}
test_true
static void test_true(void **state)
Definition:
test2.c:12
main
int main(void)
Definition:
test2.c:19
Generated by
1.8.17