Jacek Caban : mshtml: Fixed tests on Vista.
Alexandre Julliard
julliard at winehq.org
Mon Jul 23 13:54:24 CDT 2012
Module: wine
Branch: master
Commit: 68fa7d3b0e9c34f821b79ad093c81156ea29463e
URL: http://source.winehq.org/git/wine.git/?a=commit;h=68fa7d3b0e9c34f821b79ad093c81156ea29463e
Author: Jacek Caban <jacek at codeweavers.com>
Date: Mon Jul 23 14:03:27 2012 +0200
mshtml: Fixed tests on Vista.
---
dlls/mshtml/tests/htmldoc.c | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/dlls/mshtml/tests/htmldoc.c b/dlls/mshtml/tests/htmldoc.c
index 3a35abf..803d505 100644
--- a/dlls/mshtml/tests/htmldoc.c
+++ b/dlls/mshtml/tests/htmldoc.c
@@ -191,6 +191,7 @@ DEFINE_EXPECT(GetPendingUrl);
DEFINE_EXPECT(ActiveElementChanged);
DEFINE_EXPECT(IsErrorUrl);
DEFINE_EXPECT(get_LocationURL);
+DEFINE_EXPECT(CountEntries);
static IUnknown *doc_unk;
static IMoniker *doc_mon;
@@ -3245,7 +3246,7 @@ static HRESULT WINAPI TravelLog_Clone(ITravelLog *iface, ITravelLog **pptl)
static DWORD WINAPI TravelLog_CountEntries(ITravelLog *iface, IUnknown *punk)
{
- ok(0, "unexpected call\n");
+ CHECK_EXPECT(CountEntries);
return E_NOTIMPL;
}
@@ -5069,6 +5070,8 @@ static void test_download(DWORD flags)
SET_EXPECT(Exec_ShellDocView_140);
if(!is_js) {
SET_EXPECT(Exec_MSHTML_PARSECOMPLETE);
+ if(support_wbapp) /* Called on some Vista installations */
+ SET_EXPECT(CountEntries);
SET_EXPECT(Exec_HTTPEQUIV_DONE);
}
SET_EXPECT(SetStatusText);
@@ -5158,6 +5161,8 @@ static void test_download(DWORD flags)
CLEAR_CALLED(Exec_ShellDocView_140);
if(!is_js) {
CHECK_CALLED(Exec_MSHTML_PARSECOMPLETE);
+ if(support_wbapp) /* Called on some Vista installations */
+ CLEAR_CALLED(CountEntries);
CHECK_CALLED(Exec_HTTPEQUIV_DONE);
}
SET_CALLED(SetStatusText);
More information about the wine-cvs
mailing list