[1/2] comctl32/tests: Added tests for mouse events handling (try 3)

Daniel Jeliński djelinski1 at gmail.com
Tue Apr 10 01:31:01 CDT 2012


Dnia 09-04-2012 o 04:13:44 Vitaliy Margolen <wine-devel at kievinfo.com>
napisał(a):

> On 04/08/2012 01:44 PM, Daniel Jelinski wrote:
>> Hardware messages are an alternative, but I couldn't find any relevant
>> examples, so I followed the path of least resistance.
> These tests you wrote won't work. Emulating mouse up/down events with  
> anything other then hardware messages will not exercise the entire  
> chain. For example search for "mouse_event" or SendInput.

Thank you for your feedback. I agree, the tests are not equivalent to real  
mouse input. However they do expose the differences between WinAPI and  
Wine. I wrote them just to make sure (and prove) that my fix to comctl  
implementation does the right thing, and that I do not introduce new bugs  
in place of the old one.

If I remove the changes to tests and post changes to the library only,  
will they get accepted?

Daniel



More information about the wine-devel mailing list