mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 12:49:45 +00:00
msctf/tests: Framework for testing ITfKeystrokeMgr.
This commit is contained in:
parent
a98ac9a612
commit
2bb5ade29f
@ -257,6 +257,16 @@ static void test_ThreadMgrUnadviseSinks(void)
|
||||
ITfSource_Release(source);
|
||||
}
|
||||
|
||||
static void test_KeystrokeMgr(void)
|
||||
{
|
||||
ITfKeystrokeMgr *keymgr= NULL;
|
||||
HRESULT hr;
|
||||
|
||||
hr = ITfThreadMgr_QueryInterface(g_tm, &IID_ITfKeystrokeMgr, (LPVOID*)&keymgr);
|
||||
ok(SUCCEEDED(hr),"Failed to get IID_ITfKeystrokeMgr for ThreadMgr\n");
|
||||
ITfKeystrokeMgr_Release(keymgr);
|
||||
}
|
||||
|
||||
static void test_Activate(void)
|
||||
{
|
||||
HRESULT hr;
|
||||
@ -439,6 +449,7 @@ START_TEST(inputprocessor)
|
||||
test_ThreadMgrAdviseSinks();
|
||||
test_Activate();
|
||||
test_startSession();
|
||||
test_KeystrokeMgr();
|
||||
test_endSession();
|
||||
test_EnumLanguageProfiles();
|
||||
test_FindClosestCategory();
|
||||
|
Loading…
Reference in New Issue
Block a user