msctf/tests: Fix usage of test_ShouldDeactivate which is a BOOL.
Signed-off-by: Huw Davies <huw@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
e697a639e0
commit
543496a4fc
|
@ -2175,11 +2175,11 @@ static void test_AssociateFocus(void)
|
||||||
test_CurrentFocus = dm1;
|
test_CurrentFocus = dm1;
|
||||||
test_PrevFocus = FOCUS_IGNORE;
|
test_PrevFocus = FOCUS_IGNORE;
|
||||||
test_OnSetFocus = SINK_OPTIONAL;
|
test_OnSetFocus = SINK_OPTIONAL;
|
||||||
test_ShouldDeactivate = SINK_OPTIONAL;
|
test_ShouldDeactivate = TRUE;
|
||||||
hr = ITfThreadMgr_AssociateFocus(g_tm,wnd1,dm1,&olddm);
|
hr = ITfThreadMgr_AssociateFocus(g_tm,wnd1,dm1,&olddm);
|
||||||
ok(SUCCEEDED(hr),"AssociateFocus failed\n");
|
ok(SUCCEEDED(hr),"AssociateFocus failed\n");
|
||||||
sink_check_ok(&test_OnSetFocus,"OnSetFocus");
|
sink_check_ok(&test_OnSetFocus,"OnSetFocus");
|
||||||
test_ShouldDeactivate = SINK_UNEXPECTED;
|
test_ShouldDeactivate = FALSE;
|
||||||
|
|
||||||
processPendingMessages();
|
processPendingMessages();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue