[PATCH 0/3] Add ownerdata listview multiselect tests.

Angelo Haller wine-devel at szanni.org
Tue Feb 22 12:43:11 CST 2022


From: Angelo Haller <angelo at szanni.org>

The following patches are an attempt at adding some testing around
ownerdata listview mutliselect. This is a follow up to the
LVN_ODSTATECHANGED fixes I sent in last week.

The first two patches are fairly straight forward refactoring and
adding basic tests.
The third one adds a new sequence which seems generally discouraged.

I am working on an alternative PARENT_SEQ_INDEX instead of the
PARENT_ODSTATECHANGED_SEQ_INDEX introduced in patch 3. There are just
many messages that are being sent out of order and/or that concern
other listview aspects: LVN_GETDISPINFOA NM_CUSTOMDRAW WM_CHANGEUISTATE

That is why I felt it might be useful to introduce a new sequence in
the first place.

Warning: I have had access to the Windows Research Kernel (WRK) 1.2
~10 years ago. These changes are regarding comctrl32 & tests which are NOT
part of the WRK. As outlined in https://wiki.winehq.org/Developer_FAQ this
should therefore satisfy the requirement of ONLY submitting patches to
components I have NOT had access to.

Angelo Haller (3):
  comctl32/tests: Add hold_key and release_key functions.
  comctl32/tests: Add multi select tests for ownerdata listviews.
  comctl32/tests: Add change sequence for ownerdata listviews.

 dlls/comctl32/tests/listview.c | 114 ++++++++++++++++++++++++++++++---
 1 file changed, 105 insertions(+), 9 deletions(-)

Signed-off-by: Angelo Haller <angelo at szanni.org>
-- 
2.35.1




More information about the wine-devel mailing list