mirror of
https://github.com/reactos/reactos.git
synced 2024-07-07 21:25:05 +00:00
[MSCTF_WINETEST]
* Sync with Wine 1.7.27. CORE-8540 svn path=/trunk/; revision=64456
This commit is contained in:
parent
9382c801e7
commit
612e5bee87
|
@ -2186,6 +2186,28 @@ static void test_AssociateFocus(void)
|
||||||
sink_check_ok(&test_OnPopContext,"OnPopContext");
|
sink_check_ok(&test_OnPopContext,"OnPopContext");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void test_profile_mgr(void)
|
||||||
|
{
|
||||||
|
IEnumTfInputProcessorProfiles *enum_profiles;
|
||||||
|
ITfInputProcessorProfileMgr *ipp_mgr;
|
||||||
|
HRESULT hres;
|
||||||
|
|
||||||
|
hres = ITfInputProcessorProfiles_QueryInterface(g_ipp, &IID_ITfInputProcessorProfileMgr, (void**)&ipp_mgr);
|
||||||
|
if (hres != S_OK)
|
||||||
|
{
|
||||||
|
win_skip("ITfInputProcessorProfileMgr is not supported.\n");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
ok(hres == S_OK, "Could not get ITfInputProcessorProfileMgr iface: %08x\n", hres);
|
||||||
|
|
||||||
|
hres = ITfInputProcessorProfileMgr_EnumProfiles(ipp_mgr, 0, &enum_profiles);
|
||||||
|
ok(hres == S_OK, "EnumProfiles failed: %08x\n", hres);
|
||||||
|
|
||||||
|
IEnumTfInputProcessorProfiles_Release(enum_profiles);
|
||||||
|
|
||||||
|
ITfInputProcessorProfileMgr_Release(ipp_mgr);
|
||||||
|
}
|
||||||
|
|
||||||
START_TEST(inputprocessor)
|
START_TEST(inputprocessor)
|
||||||
{
|
{
|
||||||
if (SUCCEEDED(initialize()))
|
if (SUCCEEDED(initialize()))
|
||||||
|
@ -2212,6 +2234,7 @@ START_TEST(inputprocessor)
|
||||||
test_ThreadMgrUnadviseSinks();
|
test_ThreadMgrUnadviseSinks();
|
||||||
test_UnregisterCategory();
|
test_UnregisterCategory();
|
||||||
test_Unregister();
|
test_Unregister();
|
||||||
|
test_profile_mgr();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
skip("Unable to create InputProcessor\n");
|
skip("Unable to create InputProcessor\n");
|
||||||
|
|
Loading…
Reference in a new issue