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 <stdint.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 42 of file test.c.

◆ int_test_success()

static void int_test_success ( void **  state)
static

Definition at line 36 of file test.c.

Referenced by main().

◆ main()

int main ( void  )

Definition at line 51 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 30 of file test.c.

Referenced by main().

◆ setup()

static int setup ( void **  state)
static

Definition at line 11 of file test.c.

Referenced by main().

◆ teardown()

static int teardown ( void **  state)
static

Definition at line 22 of file test.c.

Referenced by main().