msctf/tests: Fix failures on Win7 and East-Asian machines

Greg Geldorp ggeldorp at
Sat Jan 15 15:54:20 CST 2011

Most of the failures were due to Win7 firing multiple OnSetFocus events
while the tests only expected a single event. E.g. the test might expect a
single event with prev focus A and current focus B, where Win7 will fire
two events, first A -> NULL and then NULL -> B. This is handled by
collecting the events via SINK_SAVE and then checking the expected
prev/current after the function that caused the focus change completes.
There are also different behaviors depending on whether the test
executable runs in the foreground or not.

 dlls/msctf/tests/inputprocessor.c |  115
 1 files changed, 92 insertions(+), 23 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-msctf-tests-Fix-failures-on-Win7-and-East-Asian-mach.patch
Type: text/x-patch
Size: 12175 bytes
Desc: not available
URL: <>

More information about the wine-patches mailing list