Author: akhaldi
Date: Thu Oct 2 08:44:32 2014
New Revision: 64456
URL:
http://svn.reactos.org/svn/reactos?rev=64456&view=rev
Log:
[MSCTF_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540
Modified:
trunk/rostests/winetests/msctf/inputprocessor.c
Modified: trunk/rostests/winetests/msctf/inputprocessor.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/winetests/msctf/inputproc…
==============================================================================
--- trunk/rostests/winetests/msctf/inputprocessor.c [iso-8859-1] (original)
+++ trunk/rostests/winetests/msctf/inputprocessor.c [iso-8859-1] Thu Oct 2 08:44:32 2014
@@ -2186,6 +2186,28 @@
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)
{
if (SUCCEEDED(initialize()))
@@ -2212,6 +2234,7 @@
test_ThreadMgrUnadviseSinks();
test_UnregisterCategory();
test_Unregister();
+ test_profile_mgr();
}
else
skip("Unable to create InputProcessor\n");