Author: gadamopoulos
Date: Mon Feb 13 09:56:35 2017
New Revision: 73786

URL: http://svn.reactos.org/svn/reactos?rev=73786&view=rev
Log:
[WIN32KNT_APITEST]: Make a test for NtUserGetClassInfo more strict to test its 
exact return value.

Modified:
    trunk/rostests/apitests/win32nt/ntuser/NtUserCreateWindowEx.c

Modified: trunk/rostests/apitests/win32nt/ntuser/NtUserCreateWindowEx.c
URL: 
http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/win32nt/ntuser/NtUserCreateWindowEx.c?rev=73786&r1=73785&r2=73786&view=diff
==============================================================================
--- trunk/rostests/apitests/win32nt/ntuser/NtUserCreateWindowEx.c       
[iso-8859-1] (original)
+++ trunk/rostests/apitests/win32nt/ntuser/NtUserCreateWindowEx.c       
[iso-8859-1] Mon Feb 13 09:56:35 2017
@@ -213,7 +213,7 @@
     TEST(res.hIconSm == wclex.hIconSm);
 
     /* Get versioned class info */
-    TEST(NtUserGetClassInfo(hinst, &ver_cls, &res, &pwstr, 0) != 0);
+    TEST(NtUserGetClassInfo(hinst, &ver_cls, &res, &pwstr, 0) == atom2);
     TEST(GetLastError() == 0);
     TEST(res.cbSize == wclex2.cbSize);
     TEST(res.style == wclex2.style);


Reply via email to