mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
msctf/tests: Framework for testing ITfKeystrokeMgr.
This commit is contained in:
parent
a98ac9a612
commit
2bb5ade29f
1 changed files with 11 additions and 0 deletions
|
@ -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 a new issue