24 Jul
2023
24 Jul
'23
2:50 p.m.
Jinoh Kang (@iamahuman) commented about dlls/comctl32/tests/listview.c:
}
+static void test_LVM_DELETEALLITEMS(void) +{ + HWND hwnd; + BOOL ret; + HDC hdc; + LISTVIEW_INFO *infoPtr_initial; + LISTVIEW_INFO *infoPtr_after; + + hwnd = create_listview_control(LVS_LIST); + + insert_item(hwnd, 0); + + /*initial state*/ + infoPtr_initial = (LISTVIEW_INFO *)GetWindowLongPtrW(hwnd, 0); You should rewrite this test in a way that doesn't depend on Wine internals. Tests run on both Wine and Windows, and test failures indicate that Windows and Wine have different internals for this.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/3392#note_39954