Lines Matching defs:tests
14 #if LWIP_IPV6 /* allow to build the unit tests without IPv6 support */
227 struct test_addr_and_str tests[] = {
237 for (i = 0; i < LWIP_ARRAYSIZE(tests); i++) {
238 str = ip6addr_ntoa_r(ip_2_ip6(&tests[i].addr), buf, sizeof(buf));
240 fail_unless(!strcmp(str, tests[i].str));
290 /** Create the suite including all tests for this module */
294 testfunc tests[] = {
301 return create_suite("IPv6", tests, sizeof(tests)/sizeof(testfunc), ip6_setup, ip6_teardown);
306 /* allow to build the unit tests without IPv6 support */
316 testfunc tests[] = {
319 return create_suite("IPv6", tests, sizeof(tests)/sizeof(testfunc), NULL, NULL);