Author: cwittich
Date: Mon Mar 16 16:39:03 2009
New Revision: 40059
URL:
http://svn.reactos.org/svn/reactos?rev=40059&view=rev
Log:
more precise error descriptions
Modified:
trunk/rostests/winetests/wlanapi/wlanapi.c
Modified: trunk/rostests/winetests/wlanapi/wlanapi.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/winetests/wlanapi/wlanapi…
==============================================================================
--- trunk/rostests/winetests/wlanapi/wlanapi.c [iso-8859-1] (original)
+++ trunk/rostests/winetests/wlanapi/wlanapi.c [iso-8859-1] Mon Mar 16 16:39:03 2009
@@ -46,15 +46,15 @@
/* invalid pdwNegotiatedVersion */
ret = WlanOpenHandle(1, NULL, NULL, &hClientHandle);
- ok(ret == ERROR_INVALID_PARAMETER, "expected failure\n");
+ ok(ret == ERROR_INVALID_PARAMETER, "expected ERROR_INVALID_PARAMETER, got
%d\n", GetLastError());
/* invalid hClientHandle */
ret = WlanOpenHandle(1, NULL, &dwNegotiatedVersion, NULL);
- ok(ret == ERROR_INVALID_PARAMETER, "expected failure\n");
+ ok(ret == ERROR_INVALID_PARAMETER, "expected ERROR_INVALID_PARAMETER, got
%d\n", GetLastError());
/* invalid pReserved */
ret = WlanOpenHandle(1, (PVOID) 1, &dwNegotiatedVersion, &hClientHandle);
- ok(ret == ERROR_INVALID_PARAMETER, "expected failure\n");
+ ok(ret == ERROR_INVALID_PARAMETER, "expected ERROR_INVALID_PARAMETER, got
%d\n", GetLastError());
}
static void WlanCloseHandle_test(void)