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

Go to the source code of this file.

Functions

Suite * dhcp_suite (void)
 

Function Documentation

◆ dhcp_suite()

Suite * dhcp_suite ( void  )

Create the suite including all tests for this module

Definition at line 1093 of file test_dhcp.c.

1094{
1095 testfunc tests[] = {
1096 TESTFUNC(test_dhcp),
1097 TESTFUNC(test_dhcp_nak),
1098 TESTFUNC(test_dhcp_relayed),
1099 TESTFUNC(test_dhcp_nak_no_endmarker),
1100 TESTFUNC(test_dhcp_invalid_overload)
1101 };
1102 return create_suite("DHCP", tests, sizeof(tests)/sizeof(testfunc), dhcp_setup, dhcp_teardown);
1103}
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 dhcp_teardown(void)
Definition: test_dhcp.c:210
static void dhcp_setup(void)
Definition: test_dhcp.c:204

Referenced by main().