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

Go to the source code of this file.

Functions

Suite * pbuf_suite (void)
 

Function Documentation

◆ pbuf_suite()

Suite * pbuf_suite ( void  )

Create the suite including all tests for this module

Definition at line 346 of file test_pbuf.c.

347{
348 testfunc tests[] = {
349 TESTFUNC(test_pbuf_alloc_zero_pbufs),
350 TESTFUNC(test_pbuf_copy_zero_pbuf),
351 TESTFUNC(test_pbuf_copy_unmatched_chains),
352 TESTFUNC(test_pbuf_copy_partial_pbuf),
353 TESTFUNC(test_pbuf_split_64k_on_small_pbufs),
354 TESTFUNC(test_pbuf_queueing_bigger_than_64k),
355 TESTFUNC(test_pbuf_take_at_edge),
356 TESTFUNC(test_pbuf_get_put_at_edge)
357 };
358 return create_suite("PBUF", tests, sizeof(tests)/sizeof(testfunc), pbuf_setup, pbuf_teardown);
359}
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 pbuf_setup(void)
Definition: test_pbuf.c:16
static void pbuf_teardown(void)
Definition: test_pbuf.c:22

Referenced by main().