msctf/tests: Spelling fixes for inputprocessor ok() messages.
Signed-off-by: Francois Gouget <fgouget@free.fr> Signed-off-by: Aric Stewart <aric@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
1dba777e69
commit
958d143526
|
@ -1206,13 +1206,13 @@ static void test_KeystrokeMgr(void)
|
|||
ok(hr == E_INVALIDARG,"Wrong return, expected E_INVALIDARG\n");
|
||||
|
||||
hr =ITfKeystrokeMgr_PreserveKey(keymgr, 0, &CLSID_PreservedKey, &tfpk, NULL, 0);
|
||||
ok(hr==E_INVALIDARG,"ITfKeystrokeMgr_PreserveKey inproperly succeeded\n");
|
||||
ok(hr==E_INVALIDARG,"ITfKeystrokeMgr_PreserveKey improperly succeeded\n");
|
||||
|
||||
hr =ITfKeystrokeMgr_PreserveKey(keymgr, tid, &CLSID_PreservedKey, &tfpk, NULL, 0);
|
||||
ok(SUCCEEDED(hr),"ITfKeystrokeMgr_PreserveKey failed\n");
|
||||
|
||||
hr =ITfKeystrokeMgr_PreserveKey(keymgr, tid, &CLSID_PreservedKey, &tfpk, NULL, 0);
|
||||
ok(hr == TF_E_ALREADY_EXISTS,"ITfKeystrokeMgr_PreserveKey inproperly succeeded\n");
|
||||
ok(hr == TF_E_ALREADY_EXISTS,"ITfKeystrokeMgr_PreserveKey improperly succeeded\n");
|
||||
|
||||
preserved = FALSE;
|
||||
hr = ITfKeystrokeMgr_IsPreservedKey(keymgr, &CLSID_PreservedKey, &tfpk, &preserved);
|
||||
|
@ -1227,7 +1227,7 @@ static void test_KeystrokeMgr(void)
|
|||
if (hr == S_FALSE) ok(preserved == FALSE,"misreporting preserved key\n");
|
||||
|
||||
hr = ITfKeystrokeMgr_UnpreserveKey(keymgr, &CLSID_PreservedKey,&tfpk);
|
||||
ok(hr==CONNECT_E_NOCONNECTION,"ITfKeystrokeMgr_UnpreserveKey inproperly succeeded\n");
|
||||
ok(hr==CONNECT_E_NOCONNECTION,"ITfKeystrokeMgr_UnpreserveKey improperly succeeded\n");
|
||||
|
||||
hr = ITfKeystrokeMgr_UnadviseKeyEventSink(keymgr,tid);
|
||||
ok(SUCCEEDED(hr),"ITfKeystrokeMgr_UnadviseKeyEventSink failed\n");
|
||||
|
|
Loading…
Reference in New Issue