Commit a13fce16 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

shdocvw/tests: Added IShellBrowser, IBrowserService and IDocObjectService existence tests.

parent f1f645b3
......@@ -41,6 +41,7 @@
#include "exdispid.h"
#include "mimeinfo.h"
#include "hlink.h"
#include "docobjectservice.h"
DEFINE_GUID(GUID_NULL,0,0,0,0,0,0,0,0,0,0,0);
DEFINE_OLEGUID(CGID_DocHostCmdPriv, 0x000214D4L, 0, 0);
......@@ -2963,6 +2964,18 @@ static void test_dochost_qs(IUnknown *unk)
ok(iface_cmp(service, unk), "service != unk\n");
IUnknown_Release(service);
hres = IServiceProvider_QueryService(serv_prov, &IID_IShellBrowser, &IID_IShellBrowser, (void**)&service);
ok(hres == S_OK, "QueryService failed: %08x\n", hres);
IUnknown_Release(service);
hres = IServiceProvider_QueryService(serv_prov, &IID_IShellBrowser, &IID_IBrowserService, (void**)&service);
ok(hres == S_OK, "QueryService failed: %08x\n", hres);
IUnknown_Release(service);
hres = IServiceProvider_QueryService(serv_prov, &IID_IShellBrowser, &IID_IDocObjectService, (void**)&service);
ok(hres == S_OK, "QueryService failed: %08x\n", hres);
IUnknown_Release(service);
IServiceProvider_Release(serv_prov);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment