ReactOS 0.4.16-dev-736-g28b802b
|
Go to the source code of this file.
Classes | |
struct | testfunc |
Macros | |
#define | FAIL_RET() do { fail(); return; } while(0) |
#define | EXPECT(x) fail_unless(x) |
#define | EXPECT_RET(x) do { fail_unless(x); if(!(x)) { return; }} while(0) |
#define | EXPECT_RETX(x, y) do { fail_unless(x); if(!(x)) { return y; }} while(0) |
#define | EXPECT_RETNULL(x) EXPECT_RETX(x, NULL) |
#define | TESTFUNC(x) {(x), "" # x "" } |
#define | tcase_add_named_test(tc, tf) _tcase_add_test((tc),(tf).func,(tf).name,0, 0, 0, 1) |
#define | SKIP_POOL(x) (1 << x) |
#define | SKIP_HEAP (1 << MEMP_MAX) |
Typedefs | |
typedef Suite *() | suite_getter_fn(void) |
Functions | |
Suite * | create_suite (const char *name, testfunc *tests, size_t num_tests, SFun setup, SFun teardown) |
void | lwip_check_ensure_no_alloc (unsigned int skip) |
Definition at line 11 of file lwip_check.h.
Definition at line 12 of file lwip_check.h.
#define EXPECT_RETNULL | ( | x | ) | EXPECT_RETX(x, NULL) |
Definition at line 14 of file lwip_check.h.
Definition at line 13 of file lwip_check.h.
Definition at line 49 of file lwip_check.h.
Definition at line 48 of file lwip_check.h.
Definition at line 25 of file lwip_check.h.
typedef Suite *() suite_getter_fn(void) |
typedef for a function returning a test suite
Definition at line 38 of file lwip_check.h.
Suite * create_suite | ( | const char * | name, |
testfunc * | tests, | ||
size_t | num_tests, | ||
SFun | setup, | ||
SFun | teardown | ||
) |
Create a test suite
Definition at line 34 of file lwip_unittests.c.
Referenced by def_suite(), dhcp_suite(), dns_suite(), etharp_suite(), ip4_suite(), ip6_suite(), mdns_suite(), mem_suite(), mqtt_suite(), netif_suite(), pbuf_suite(), sockets_suite(), tcp_oos_suite(), tcp_state_suite(), tcp_suite(), timers_suite(), and udp_suite().
Definition at line 50 of file lwip_unittests.c.
Referenced by dhcp_setup(), dhcp_teardown(), etharp_setup(), etharp_teardown(), ip4_setup(), ip4_teardown(), mem_setup(), mem_teardown(), mqtt_setup(), mqtt_teardown(), netif_setup(), netif_teardown(), pbuf_setup(), pbuf_teardown(), sockets_setup(), sockets_teardown(), tcp_oos_setup(), tcp_oos_teardown(), tcp_setup(), tcp_state_setup(), tcp_state_teardown(), tcp_teardown(), udp_setup(), and udp_teardown().