James Hawkins : mshtml: Fix a test failure in win2k3.
Alexandre Julliard
julliard at winehq.org
Mon May 26 13:12:44 CDT 2008
Module: wine
Branch: master
Commit: 173d79a3f484849e8bea0d1acf8e1dd3b883e37e
URL: http://source.winehq.org/git/wine.git/?a=commit;h=173d79a3f484849e8bea0d1acf8e1dd3b883e37e
Author: James Hawkins <jhawkins at codeweavers.com>
Date: Mon May 26 00:17:58 2008 -0500
mshtml: Fix a test failure in win2k3.
---
dlls/mshtml/tests/htmldoc.c | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/dlls/mshtml/tests/htmldoc.c b/dlls/mshtml/tests/htmldoc.c
index 11ec3fe..d46e11a 100644
--- a/dlls/mshtml/tests/htmldoc.c
+++ b/dlls/mshtml/tests/htmldoc.c
@@ -2225,8 +2225,16 @@ static HRESULT WINAPI OleCommandTarget_Exec(IOleCommandTarget *iface, const GUID
}
if(IsEqualGUID(&CGID_DocHostCommandHandler, pguidCmdGroup)) {
- ok(0, "unexpected cmd %d of CGID_DocHostCommandHandler\n", nCmdID);
- return E_NOTIMPL;
+ switch (nCmdID) {
+ case OLECMDID_PAGEACTIONBLOCKED: /* win2k3 */
+ SET_EXPECT(SetStatusText);
+ ok(pvaIn == NULL, "pvaIn != NULL\n");
+ ok(pvaOut == NULL, "pvaOut != NULL\n");
+ return S_OK;
+ default:
+ ok(0, "unexpected command %d\n", nCmdID);
+ return E_FAIL;
+ }
}
ok(0, "unexpected pguidCmdGroup: %s\n", debugstr_guid(pguidCmdGroup));
More information about the wine-cvs
mailing list