X-Git-Url: https://git.reactos.org/?p=reactos.git;a=blobdiff_plain;f=rostests%2Fapitests%2Fws2_32%2Ftestlist.c;h=e760096393e284bb81d2bba2fcb3355d67a4116b;hp=fa579807f3f4a8d1df16a8190ce4c4eabab9dfa1;hb=ecc68049763a133d33a7c52ba7caa5af2b217bd8;hpb=967f731f6aab8d82dc6db50fd9642a0129aead0d diff --git a/rostests/apitests/ws2_32/testlist.c b/rostests/apitests/ws2_32/testlist.c index fa579807f3f..e760096393e 100644 --- a/rostests/apitests/ws2_32/testlist.c +++ b/rostests/apitests/ws2_32/testlist.c @@ -1,33 +1,18 @@ -/* - * PROJECT: ws2_32.dll API tests - * LICENSE: GPLv2 or any later version - * FILE: apitests/ws2_32/testlist.c - * PURPOSE: Test list file - * COPYRIGHT: Copyright 2008 Colin Finck - */ +#define WIN32_LEAN_AND_MEAN +#define __ROS_LONG64__ +#include -#ifndef _WS2_32_TESTLIST_H -#define _WS2_32_TESTLIST_H +#define STANDALONE +#include "wine/test.h" -#define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0])) +extern void func_ioctlsocket(void); +extern void func_recv(void); -#include "ws2_32.h" - -/* include the tests */ -#include "tests/ioctlsocket.c" -#include "tests/recv.c" - -/* The List of tests */ -TESTENTRY TestList[] = +const struct test winetest_testlist[] = { - { L"ioctlsocket", Test_ioctlsocket }, - { L"recv", Test_recv } -}; + { "ioctlsocket", func_ioctlsocket }, + { "recv", func_recv }, -/* The function that gives us the number of tests */ -INT NumTests(void) -{ - return ARRAY_SIZE(TestList); -} + { 0, 0 } +}; -#endif