OpenVPN
Macros | Functions
test_group_setup_assert.c File Reference
#include <stdarg.h>
#include <stddef.h>
#include <setjmp.h>
#include <cmocka.h>
Include dependency graph for test_group_setup_assert.c:

Go to the source code of this file.

Macros

#define UNIT_TESTING   1
 

Functions

static int group_setup_failing (void **state)
 
static void test_true (void **state)
 
static void test_false (void **state)
 
int main (void)
 

Macro Definition Documentation

◆ UNIT_TESTING

#define UNIT_TESTING   1

Definition at line 2 of file test_group_setup_assert.c.

Function Documentation

◆ group_setup_failing()

static int group_setup_failing ( void **  state)
static

Definition at line 9 of file test_group_setup_assert.c.

References assert_int_equal.

Referenced by main().

◆ main()

int main ( void  )

◆ test_false()

static void test_false ( void **  state)
static

Definition at line 24 of file test_group_setup_assert.c.

References assert_false.

Referenced by main().

◆ test_true()

static void test_true ( void **  state)
static

Definition at line 18 of file test_group_setup_assert.c.

References assert_true.

Referenced by main().