fa579807f3f4a8d1df16a8190ce4c4eabab9dfa1
[reactos.git] / rostests / apitests / ws2_32 / testlist.c
1 /*
2 * PROJECT: ws2_32.dll API tests
3 * LICENSE: GPLv2 or any later version
4 * FILE: apitests/ws2_32/testlist.c
5 * PURPOSE: Test list file
6 * COPYRIGHT: Copyright 2008 Colin Finck <mail@colinfinck.de>
7 */
8
9 #ifndef _WS2_32_TESTLIST_H
10 #define _WS2_32_TESTLIST_H
11
12 #define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0]))
13
14 #include "ws2_32.h"
15
16 /* include the tests */
17 #include "tests/ioctlsocket.c"
18 #include "tests/recv.c"
19
20 /* The List of tests */
21 TESTENTRY TestList[] =
22 {
23 { L"ioctlsocket", Test_ioctlsocket },
24 { L"recv", Test_recv }
25 };
26
27 /* The function that gives us the number of tests */
28 INT NumTests(void)
29 {
30 return ARRAY_SIZE(TestList);
31 }
32
33 #endif