Commit 55d34f47 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

msxml3/tests: Skip tests when XMLView object fails to create.

parent 9e10eee6
......@@ -40,8 +40,8 @@ static void test_QueryInterface(void)
hres = CoCreateInstance(&CLSID_XMLView, NULL, CLSCTX_INPROC_SERVER|CLSCTX_INPROC_HANDLER,
&IID_IUnknown, (void**)&xmlview);
if(hres == REGDB_E_CLASSNOTREG) {
win_skip("XMLView class not registered\n");
if(FAILED(hres)) {
win_skip("Failed to create XMLView instance\n");
return;
}
ok(hres == S_OK, "CoCreateInstance returned %x, expected S_OK\n", hres);
......
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