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
da7c766b
Commit
da7c766b
authored
Mar 04, 2015
by
Piotr Caban
Committed by
Alexandre Julliard
Mar 04, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ieframe/tests: Added more OleObject_Close tests.
parent
bbe2c582
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
webbrowser.c
dlls/ieframe/tests/webbrowser.c
+18
-0
No files found.
dlls/ieframe/tests/webbrowser.c
View file @
da7c766b
...
...
@@ -3531,6 +3531,24 @@ static void test_Close(IWebBrowser2 *wb, BOOL do_download)
ok
(
hres
==
S_OK
,
"hres = %x
\n
"
,
hres
);
ok
(
!
ocs
,
"ocs != NULL
\n
"
);
SET_EXPECT
(
GetContainer
);
SET_EXPECT
(
Site_GetWindow
);
SET_EXPECT
(
Invoke_AMBIENT_OFFLINEIFNOTCONNECTED
);
SET_EXPECT
(
Invoke_AMBIENT_SILENT
);
hres
=
IOleObject_DoVerb
(
oo
,
OLEIVERB_HIDE
,
NULL
,
(
IOleClientSite
*
)
0xdeadbeef
,
0
,
(
HWND
)
0xdeadbeef
,
NULL
);
ok
(
hres
==
S_OK
,
"DoVerb failed: %08x
\n
"
,
hres
);
todo_wine
CHECK_CALLED
(
GetContainer
);
todo_wine
CHECK_CALLED
(
Site_GetWindow
);
todo_wine
CHECK_CALLED
(
Invoke_AMBIENT_OFFLINEIFNOTCONNECTED
);
todo_wine
CHECK_CALLED
(
Invoke_AMBIENT_SILENT
);
hres
=
IOleObject_GetClientSite
(
oo
,
&
ocs
);
ok
(
hres
==
S_OK
,
"hres = %x
\n
"
,
hres
);
todo_wine
ok
(
ocs
==
&
ClientSite
,
"ocs != &ClientSite
\n
"
);
if
(
ocs
)
IOleClientSite_Release
(
ocs
);
hres
=
IOleObject_Close
(
oo
,
OLECLOSE_NOSAVE
);
ok
(
hres
==
S_OK
,
"OleObject_Close failed: %x
\n
"
,
hres
);
...
...
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