OpenVPN
|
#include "config.h"
#include <stdarg.h>
#include <stddef.h>
#include <setjmp.h>
#include <cmocka.h>
#include <cmocka_private.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
Go to the source code of this file.
Functions | |
static void | torture_test_malloc (void **state) |
static void | torture_test_realloc (void **state) |
static void | torture_test_realloc_set0 (void **state) |
int | main (void) |
int main | ( | void | ) |
Definition at line 83 of file test_alloc.c.
References cmocka_run_group_tests, cmocka_unit_test, torture_test_malloc(), torture_test_realloc(), and torture_test_realloc_set0().
|
static |
Definition at line 13 of file test_alloc.c.
References assert_int_equal, assert_non_null, snprintf, test_free, and test_malloc.
Referenced by main().
|
static |
Definition at line 34 of file test_alloc.c.
References assert_int_equal, assert_non_null, assert_string_equal, snprintf, test_free, test_malloc, and test_realloc.
Referenced by main().
|
static |
Definition at line 67 of file test_alloc.c.
References assert_non_null, assert_null, test_malloc, and test_realloc.
Referenced by main().