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

Go to the source code of this file.

Functions

Suite * udp_suite (void)
 

Function Documentation

◆ udp_suite()

Suite * udp_suite ( void  )

Create the suite including all tests for this module

Definition at line 464 of file test_udp.c.

465{
466 testfunc tests[] = {
467 TESTFUNC(test_udp_new_remove),
468 TESTFUNC(test_udp_broadcast_rx_with_2_netifs),
469 TESTFUNC(test_udp_bind)
470 };
471 return create_suite("UDP", tests, sizeof(tests)/sizeof(testfunc), udp_setup, udp_teardown);
472}
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 udp_setup(void)
Definition: test_udp.c:117
static void udp_teardown(void)
Definition: test_udp.c:125

Referenced by main().