ReactOS 0.4.16-dev-329-g9223134
test_mem.h File Reference
#include "../lwip_check.h"
Include dependency graph for test_mem.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

Suite * mem_suite (void)
 

Function Documentation

◆ mem_suite()

Suite * mem_suite ( void  )

Create the suite including all tests for this module

Definition at line 212 of file test_mem.c.

213{
214 testfunc tests[] = {
215 TESTFUNC(test_mem_one),
216 TESTFUNC(test_mem_random),
217 TESTFUNC(test_mem_invalid_free),
218 TESTFUNC(test_mem_double_free)
219 };
220 return create_suite("MEM", tests, sizeof(tests)/sizeof(testfunc), mem_setup, mem_teardown);
221}
Suite * create_suite(const char *name, testfunc *tests, size_t num_tests, SFun setup, SFun teardown)
#define TESTFUNC(x)
Definition: lwip_check.h:22
static struct test_info tests[]
static void mem_teardown(void)
Definition: test_mem.c:19
static void mem_setup(void)
Definition: test_mem.c:13

Referenced by main().