msctf/tests: Fix failures on Win7 and East-Asian machines
ggeldorp at vmware.com
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...
Size: 12175 bytes
Desc: not available
More information about the wine-patches