mirror of
https://github.com/reactos/reactos.git
synced 2025-08-01 19:13:30 +00:00
[IPHLPAPI_APITEST] Move icmp tests from winetests to apitests where they belong. By Tim Crawford. ROSTESTS-201
svn path=/trunk/; revision=70261
This commit is contained in:
parent
f32001cd7e
commit
cc656f9803
6 changed files with 8 additions and 33 deletions
|
@ -1,5 +1,6 @@
|
|||
|
||||
list(APPEND SOURCE
|
||||
icmp.c
|
||||
SendARP.c
|
||||
testlist.c)
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Unit test suite for Icmp.dll functions
|
||||
* Unit test suite for Icmp functions
|
||||
*
|
||||
* Copyright 2006 Steven Edwards
|
||||
*
|
||||
|
@ -17,17 +17,11 @@
|
|||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
/*
|
||||
* TODO:
|
||||
* It seems under Windows XP, 2003 and Vista these functions are not implemented
|
||||
* in iphlpapi. Move the implementation and tests there.
|
||||
*/
|
||||
|
||||
#include <windows.h>
|
||||
#include "wine/test.h"
|
||||
|
||||
HANDLE WINAPI IcmpCreateFile(void);
|
||||
BOOL WINAPI IcmpCloseHandle(HANDLE handle);
|
||||
#include <apitest.h>
|
||||
#include <ws2tcpip.h>
|
||||
#include <iphlpapi.h>
|
||||
#include <icmpapi.h>
|
||||
|
||||
HANDLE handle;
|
||||
|
|
@ -3,10 +3,12 @@
|
|||
#define STANDALONE
|
||||
#include <apitest.h>
|
||||
|
||||
extern void func_icmp(void);
|
||||
extern void func_SendARP(void);
|
||||
|
||||
const struct test winetest_testlist[] =
|
||||
{
|
||||
{ "icmp", func_icmp },
|
||||
{ "SendARP", func_SendARP },
|
||||
|
||||
{ 0, 0 }
|
||||
|
|
|
@ -31,7 +31,6 @@ add_subdirectory(fusion)
|
|||
add_subdirectory(gdi32)
|
||||
add_subdirectory(gdiplus)
|
||||
add_subdirectory(hlink)
|
||||
add_subdirectory(icmp)
|
||||
add_subdirectory(imagehlp)
|
||||
add_subdirectory(imm32)
|
||||
add_subdirectory(inetcomm)
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
|
||||
add_executable(icmp_winetest icmp.c testlist.c)
|
||||
target_link_libraries(icmp_winetest wine uuid)
|
||||
set_module_type(icmp_winetest win32cui)
|
||||
add_importlibs(icmp_winetest icmp msvcrt kernel32 ntdll)
|
||||
add_cd_file(TARGET icmp_winetest DESTINATION reactos/bin FOR all)
|
|
@ -1,15 +0,0 @@
|
|||
/* Automatically generated file; DO NOT EDIT!! */
|
||||
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
|
||||
#define STANDALONE
|
||||
#include "wine/test.h"
|
||||
|
||||
extern void func_icmp(void);
|
||||
|
||||
const struct test winetest_testlist[] =
|
||||
{
|
||||
{ "icmp", func_icmp },
|
||||
{ 0, 0 }
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue