c-template
safe_mem_test.c File Reference
#include <stdio.h>
#include <stdarg.h>
#include <stddef.h>
#include <setjmp.h>
#include <cmocka.h>
#include <assert.h>
#include <stdbool.h>
#include "../../include/utils/safe_mem.h"
Include dependency graph for safe_mem_test.c:

Go to the source code of this file.

Data Structures

struct  test_data
 

Typedefs

typedef struct test_data test_data
 

Functions

void test_new_memory_object_null (void **state)
 
void test_new_memory_object_test_data (void **state)
 
int main (void)
 

Typedef Documentation

◆ test_data

typedef struct test_data test_data

Function Documentation

◆ main()

int main ( void  )

Definition at line 57 of file safe_mem_test.c.

Here is the call graph for this function:

◆ test_new_memory_object_null()

void test_new_memory_object_null ( void **  state)

Definition at line 18 of file safe_mem_test.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_new_memory_object_test_data()

void test_new_memory_object_test_data ( void **  state)

Definition at line 37 of file safe_mem_test.c.

Here is the call graph for this function:
Here is the caller graph for this function: