Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
4d46c997
Commit
4d46c997
authored
Sep 28, 2008
by
Jacek Caban
Committed by
Alexandre Julliard
Sep 29, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shdocvw: Fixed tests on IE5.
parent
c3c74ac5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
7 deletions
+15
-7
webbrowser.c
dlls/shdocvw/tests/webbrowser.c
+15
-7
No files found.
dlls/shdocvw/tests/webbrowser.c
View file @
4d46c997
...
...
@@ -63,6 +63,12 @@ DEFINE_GUID(GUID_NULL,0,0,0,0,0,0,0,0,0,0,0);
expect_ ## func = called_ ## func = FALSE; \
}while(0)
#define CHECK_CALLED_BROKEN(func) \
do { \
ok(called_ ## func || broken(!called_ ## func), "expected " #func "\n"); \
expect_ ## func = called_ ## func = FALSE; \
}while(0)
DEFINE_EXPECT
(
GetContainer
);
DEFINE_EXPECT
(
Site_GetWindow
);
DEFINE_EXPECT
(
ShowObject
);
...
...
@@ -240,6 +246,8 @@ static HRESULT WINAPI OleCommandTarget_Exec(IOleCommandTarget *iface, const GUID
switch
(
nCmdID
)
{
case
24
:
return
E_FAIL
;
/* TODO */
case
25
:
return
E_FAIL
;
/* IE5 */
case
66
:
return
E_FAIL
;
/* TODO */
default:
...
...
@@ -1627,13 +1635,13 @@ static void test_ie_funcs(IUnknown *unk)
SET_EXPECT
(
Invoke_WINDOWSETRESIZABLE
);
hres
=
IWebBrowser2_put_Resizable
(
wb
,
(
exvb
=
VARIANT_TRUE
));
ok
(
hres
==
S_OK
,
"put_Resizable failed: %08x
\n
"
,
hres
);
CHECK_CALLED
(
Invoke_WINDOWSETRESIZABLE
);
ok
(
hres
==
S_OK
||
broken
(
hres
==
E_NOTIMPL
)
,
"put_Resizable failed: %08x
\n
"
,
hres
);
CHECK_CALLED
_BROKEN
(
Invoke_WINDOWSETRESIZABLE
);
SET_EXPECT
(
Invoke_WINDOWSETRESIZABLE
);
hres
=
IWebBrowser2_put_Resizable
(
wb
,
(
exvb
=
VARIANT_FALSE
));
ok
(
hres
==
S_OK
,
"put_Resizable failed: %08x
\n
"
,
hres
);
CHECK_CALLED
(
Invoke_WINDOWSETRESIZABLE
);
ok
(
hres
==
S_OK
||
broken
(
hres
==
E_NOTIMPL
)
,
"put_Resizable failed: %08x
\n
"
,
hres
);
CHECK_CALLED
_BROKEN
(
Invoke_WINDOWSETRESIZABLE
);
hres
=
IWebBrowser2_get_Resizable
(
wb
,
&
b
);
ok
(
hres
==
E_NOTIMPL
,
"get_Resizable failed: %08x
\n
"
,
hres
);
...
...
@@ -1953,12 +1961,12 @@ static void test_Navigate2(IUnknown *unk)
CHECK_CALLED
(
Invoke_AMBIENT_USERAGENT
);
CHECK_CALLED
(
Invoke_AMBIENT_PALETTE
);
CHECK_CALLED
(
GetOptionKeyPath
);
CHECK_CALLED
(
GetOverridesKeyPath
);
CHECK_CALLED
_BROKEN
(
GetOverridesKeyPath
);
todo_wine
CHECK_CALLED
(
QueryStatus_SETPROGRESSTEXT
);
todo_wine
CHECK_CALLED
(
Exec_SETPROGRESSMAX
);
todo_wine
CHECK_CALLED
(
Exec_SETPROGRESSPOS
);
todo_wine
CHECK_CALLED
(
Invoke_SETSECURELOCKICON
);
todo_wine
CHECK_CALLED
(
Invoke_FILEDOWNLOAD
);
todo_wine
CHECK_CALLED
_BROKEN
(
Invoke_SETSECURELOCKICON
);
todo_wine
CHECK_CALLED
_BROKEN
(
Invoke_FILEDOWNLOAD
);
todo_wine
CHECK_CALLED
(
Invoke_COMMANDSTATECHANGE
);
todo_wine
CHECK_CALLED
(
Exec_SETDOWNLOADSTATE_0
);
CHECK_CALLED
(
EnableModeless_TRUE
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment