OpenVPN
Functions
test.c File Reference
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
#include <setjmp.h>
#include <cmocka.h>
Include dependency graph for test.c:

Go to the source code of this file.

Functions

static int setup (void **state)
 
static int teardown (void **state)
 
static void null_test_success (void **state)
 
static void int_test_success (void **state)
 
 __attribute__ ((unused))
 
int main (void)
 

Function Documentation

◆ __attribute__()

__attribute__ ( (unused)  )

Definition at line 41 of file test.c.

◆ int_test_success()

static void int_test_success ( void **  state)
static

Definition at line 35 of file test.c.

Referenced by main().

◆ main()

int main ( void  )

Definition at line 50 of file test.c.

References int_test_success(), null_test_success(), setup(), and teardown().

◆ null_test_success()

static void null_test_success ( void **  state)
static

Definition at line 29 of file test.c.

Referenced by main().

◆ setup()

static int setup ( void **  state)
static

Definition at line 10 of file test.c.

Referenced by main().

◆ teardown()

static int teardown ( void **  state)
static

Definition at line 21 of file test.c.

Referenced by main().