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

Angelo Haller wine-devel at szanni.org
Thu Apr 28 08:20:08 CDT 2022


From: Angelo Haller <angelo at szanni.org>

This is a resend of the follow up on the listview LVN_ODSTATECHANGED
fixes I sent in a while ago. These are the missing tests that were
requested for the fixes that I will resubmit once this gets merged.

The first two patches are fairly straight forward: refactoring and
adding basic tests.
The third one adds a new message test sequence.

I have tried to use one of the existing PARENT_SEQ_INDEX sequences,
it just turns out that that particular sequence gets spammed with many
unrelated messages.
Many messages that are being sent out of order and/or that concern other
listview aspects: LVN_GETDISPINFOA NM_CUSTOMDRAW WM_CHANGEUISTATE

Hence I introduced a new PARENT_ODSTATECHANGED_SEQ_INDEX to enable
better testing of ownerdata listviews.


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.36.0




More information about the wine-devel mailing list