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
c4d41435
Commit
c4d41435
authored
Sep 15, 2015
by
Jacek Caban
Committed by
Alexandre Julliard
Sep 15, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ieframe/tests: Fixed tests on some VMs.
parent
20e61813
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
webbrowser.c
dlls/ieframe/tests/webbrowser.c
+5
-2
No files found.
dlls/ieframe/tests/webbrowser.c
View file @
c4d41435
...
...
@@ -688,6 +688,8 @@ static void _test_invoke_bool(unsigned line, const DISPPARAMS *params, BOOL stri
static
void
test_OnBeforeNavigate
(
const
VARIANT
*
disp
,
const
VARIANT
*
url
,
const
VARIANT
*
flags
,
const
VARIANT
*
frame
,
const
VARIANT
*
post_data
,
const
VARIANT
*
headers
,
const
VARIANT
*
cancel
)
{
BSTR
str
;
ok
(
V_VT
(
disp
)
==
VT_DISPATCH
,
"V_VT(disp)=%d, expected VT_DISPATCH
\n
"
,
V_VT
(
disp
));
ok
(
V_DISPATCH
(
disp
)
!=
NULL
,
"V_DISPATCH(disp) == NULL
\n
"
);
ok
(
V_DISPATCH
(
disp
)
==
(
IDispatch
*
)
wb
,
"V_DISPATCH(disp)=%p, wb=%p
\n
"
,
V_DISPATCH
(
disp
),
wb
);
...
...
@@ -763,8 +765,9 @@ static void test_OnBeforeNavigate(const VARIANT *disp, const VARIANT *url, const
if
(
V_VARIANTREF
(
headers
))
{
ok
(
V_VT
(
V_VARIANTREF
(
headers
))
==
VT_BSTR
,
"V_VT(V_VARIANTREF(headers))=%d, expected VT_BSTR
\n
"
,
V_VT
(
V_VARIANTREF
(
headers
)));
ok
(
V_BSTR
(
V_VARIANTREF
(
headers
))
==
NULL
,
"V_BSTR(V_VARIANTREF(headers)) = %s, expected NULL
\n
"
,
wine_dbgstr_w
(
V_BSTR
(
V_VARIANTREF
(
headers
))));
str
=
V_BSTR
(
V_VARIANTREF
(
headers
));
ok
(
!
str
||
!
strcmp_wa
(
str
,
"Referer: http://test.winehq.org/tests/hello.html
\r\n
"
),
"V_BSTR(V_VARIANTREF(headers)) = %s, expected NULL
\n
"
,
wine_dbgstr_w
(
str
));
}
ok
(
V_VT
(
cancel
)
==
(
VT_BYREF
|
VT_BOOL
),
"V_VT(cancel)=%x, expected VT_BYREF|VT_BOOL
\n
"
,
...
...
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