Re: [PATCH v9 0/2] MR3114: comctl32: Make sure the type is sLink to increase id.
Zhiyi Zhang (@zhiyi) commented about dlls/comctl32/tests/syslink.c:
+static void test_GETSYSLINKID(void) +{ + HWND hwnd; + int point; + + hwnd = create_syslink(WS_CHILD | WS_TABSTOP | WS_VISIBLE, hWndParent); + ok(hwnd != NULL, "Failed to create SysLink window.\n"); + + /*the test point of link3(x=120 y=20).*/ + point = ((20 << 16) | 120); + + SendMessageA(hwnd, WM_LBUTTONDOWN, 1, (LPARAM)point); + + g_linkid = 0; + SendMessageA(hwnd, WM_LBUTTONUP, 0, (LPARAM)point); + todo_wine ok(g_linkid == 2, "GETSYSLINKID was not processed correctly!\n"); Rename g_linkid to g_link_id. Rename the function to test_link_id(). Change this line to todo_wine ok(g_link_id == 2, "Got unexpected link id %d.\n", g_link_id);
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/3114#note_38453
participants (1)
-
Zhiyi Zhang (@zhiyi)