Paul Vriens : mshtml/tests: Fix a test failure on NT4.
Alexandre Julliard
julliard at winehq.org
Tue Jan 5 11:37:52 CST 2010
Module: wine
Branch: master
Commit: 157b1f69027275e2b0f191463d093e65ba3cec93
URL: http://source.winehq.org/git/wine.git/?a=commit;h=157b1f69027275e2b0f191463d093e65ba3cec93
Author: Paul Vriens <Paul.Vriens.Wine at gmail.com>
Date: Tue Jan 5 11:12:39 2010 +0100
mshtml/tests: Fix a test failure on NT4.
---
dlls/mshtml/tests/dom.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/dlls/mshtml/tests/dom.c b/dlls/mshtml/tests/dom.c
index 8744129..5c7380e 100644
--- a/dlls/mshtml/tests/dom.c
+++ b/dlls/mshtml/tests/dom.c
@@ -2130,7 +2130,8 @@ static void _test_elem_filters(unsigned line, IUnknown *unk)
IHTMLFiltersCollection *filters;
hres = IHTMLElement_get_filters(elem, &filters);
- ok_(__FILE__,line) (hres == S_OK, "get_filters failed: %08x\n", hres);
+ ok_(__FILE__,line) (hres == S_OK || broken(hres == REGDB_E_CLASSNOTREG) /* NT4 */,
+ "get_filters failed: %08x\n", hres);
if(hres == S_OK)
{
LONG len;
@@ -2141,7 +2142,8 @@ static void _test_elem_filters(unsigned line, IUnknown *unk)
ok_(__FILE__,line) (len == 0, "expect 0 got %d\n", len);
hres = IHTMLFiltersCollection_QueryInterface(filters, &IID_IDispatchEx, (void**)&dispex);
- ok(hres == S_OK || broken(hres == E_NOINTERFACE), "Could not get IDispatchEx interface: %08x\n", hres);
+ ok_(__FILE__,line) (hres == S_OK || broken(hres == E_NOINTERFACE),
+ "Could not get IDispatchEx interface: %08x\n", hres);
if(SUCCEEDED(hres)) {
test_disp((IUnknown*)filters, &IID_IHTMLFiltersCollection, "[object]");
IDispatchEx_Release(dispex);
More information about the wine-cvs
mailing list