mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 05:12:55 +00:00
[ROSTESTS] fix x64 build and fix/disable warnings
This commit is contained in:
parent
6a67450893
commit
42d2d5ec9c
56 changed files with 229 additions and 171 deletions
|
@ -27,6 +27,7 @@ test_NhGetInterfaceNameFromGuid(GUID AdapterGUID, DWORD par1, DWORD par2)
|
|||
ULONG ulOutBufLen;
|
||||
WCHAR Name[MAX_INTERFACE_NAME_LEN + 4];
|
||||
GUID UniqueGUID = MY_TEST_GUID;
|
||||
SIZE_T Length;
|
||||
|
||||
// Test NULL GUID
|
||||
SetLastError(0xbeeffeed);
|
||||
|
@ -104,11 +105,11 @@ test_NhGetInterfaceNameFromGuid(GUID AdapterGUID, DWORD par1, DWORD par2)
|
|||
ok(ulOutBufLen > 0,
|
||||
"ulOutBufLen is %ld, expected > 0\n",
|
||||
ulOutBufLen);
|
||||
Error = wcslen(Name);
|
||||
ok(Error > 0,
|
||||
Length = wcslen(Name);
|
||||
ok(Length > 0,
|
||||
"wcslen(Name) is %ld, expected > 0\n",
|
||||
Error);
|
||||
if (Error > 0)
|
||||
Length);
|
||||
if (Length > 0)
|
||||
trace("Adapter name: \"%S\"\n", Name);
|
||||
|
||||
// Test correct values, but with new unique GUID
|
||||
|
@ -159,6 +160,7 @@ test_NhGetInterfaceNameFromDeviceGuid(GUID AdapterGUID, DWORD par1, DWORD par2)
|
|||
ULONG ulOutBufLen;
|
||||
WCHAR Name[MAX_INTERFACE_NAME_LEN];
|
||||
GUID UniqueGUID = MY_TEST_GUID;
|
||||
SIZE_T Length;
|
||||
|
||||
// Test NULL GUID
|
||||
// Windows XP: NhGetInterfaceNameFromDeviceGuid throws exception here
|
||||
|
@ -241,11 +243,11 @@ test_NhGetInterfaceNameFromDeviceGuid(GUID AdapterGUID, DWORD par1, DWORD par2)
|
|||
ok(ulOutBufLen > 0,
|
||||
"ulOutBufLen is %ld, expected > 0\n",
|
||||
ulOutBufLen);
|
||||
Error = wcslen(Name);
|
||||
ok(Error > 0,
|
||||
Length = wcslen(Name);
|
||||
ok(Length > 0,
|
||||
"wcslen(Name) is %ld, expected > 0\n",
|
||||
Error);
|
||||
if (Error > 0)
|
||||
Length);
|
||||
if (Length > 0)
|
||||
trace("Adapter name: \"%S\"\n", Name);
|
||||
|
||||
// Test correct values, but with new unique GUID
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue