COMCTL32: Another failing DPA test.

Felix Nawothnig felix.nawothnig at t-online.de
Wed Jul 6 16:40:06 CDT 2005


Tested on Win95 and WinXP.

ChangeLog:
Add another failing DPA test.
-------------- next part --------------
Index: tests/dpa.c
===================================================================
RCS file: /home/wine/wine/dlls/comctl32/tests/dpa.c,v
retrieving revision 1.9
diff -u -r1.9 dpa.c
--- tests/dpa.c	5 Jul 2005 11:01:29 -0000	1.9
+++ tests/dpa.c	6 Jul 2005 21:35:24 -0000
@@ -353,6 +353,12 @@
         ok(CheckDPA(dpa2, 0x777456, &dw2), "dw=0x%lx\n", dw2);
         ok(nEnum == 3, "nEnum=%d\n", nEnum);
     }
+    
+    /* Setting item with huge index should work */
+    todo_wine ok(pDPA_SetPtr(dpa2, 0x12345, (PVOID)0xdeadbeef), "\n");
+    ret = pDPA_GetPtrIndex(dpa2, (PVOID)0xdeadbeef);
+    todo_wine ok(ret == 0x12345, "ret=%d\n", ret);
+          
     pDPA_DeleteAllPtrs(dpa2);
     ok(CheckDPA(dpa2, 0, &dw2), "dw2=0x%lx\n", dw2);
     pDPA_Destroy(dpa2);


More information about the wine-patches mailing list