Author: tkreuzer
Date: Tue May 8 23:15:49 2012
New Revision: 56545
URL:
http://svn.reactos.org/svn/reactos?rev=56545&view=rev
Log:
[GDI32_APITEST]
Add more tests for GetDIBColorTable
Modified:
trunk/rostests/apitests/gdi32/GetDIBColorTable.c
Modified: trunk/rostests/apitests/gdi32/GetDIBColorTable.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/gdi32/GetDIBColo…
==============================================================================
--- trunk/rostests/apitests/gdi32/GetDIBColorTable.c [iso-8859-1] (original)
+++ trunk/rostests/apitests/gdi32/GetDIBColorTable.c [iso-8859-1] Tue May 8 23:15:49
2012
@@ -30,6 +30,8 @@
cColors = GetDIBColorTable(hdc, 0, 257, (RGBQUAD*)aulColors);
ok_long(cColors, 2);
ok_err(0);
+ ok_long(aulColors[0], 0x000000);
+ ok_long(aulColors[1], 0xffffff);
hbmp = CreateBitmap(1, 1, 1, 1, NULL);
ok(hbmp != 0, "\n");
@@ -38,6 +40,8 @@
cColors = GetDIBColorTable(hdc, 0, 257, (RGBQUAD*)aulColors);
ok_long(cColors, 2);
ok_err(0);
+ ok_long(aulColors[0], 0x000000);
+ ok_long(aulColors[1], 0xffffff);
SelectObject(hdc, hbmpOld);
DeleteObject(hbmp);