Piotr Caban : msxml3/tests: Skip tests when XMLView object fails to create.
Alexandre Julliard
julliard at winehq.org
Tue Mar 13 13:50:37 CDT 2012
Module: wine
Branch: master
Commit: 55d34f470f970719a315c944a3e5850db563fd5f
URL: http://source.winehq.org/git/wine.git/?a=commit;h=55d34f470f970719a315c944a3e5850db563fd5f
Author: Piotr Caban <piotr at codeweavers.com>
Date: Mon Mar 12 20:41:32 2012 +0100
msxml3/tests: Skip tests when XMLView object fails to create.
---
dlls/msxml3/tests/xmlview.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/msxml3/tests/xmlview.c b/dlls/msxml3/tests/xmlview.c
index c1b221e..65c991e 100644
--- a/dlls/msxml3/tests/xmlview.c
+++ b/dlls/msxml3/tests/xmlview.c
@@ -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);
More information about the wine-cvs
mailing list