Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
3a7bd03d
Commit
3a7bd03d
authored
Jun 20, 2016
by
Jacek Caban
Committed by
Alexandre Julliard
Jun 21, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet: Fixed tests on win10.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
68dddd8d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
internet.c
dlls/wininet/tests/internet.c
+11
-2
No files found.
dlls/wininet/tests/internet.c
View file @
3a7bd03d
...
...
@@ -1067,7 +1067,8 @@ static void test_IsDomainLegalCookieDomainW(void)
static
void
test_PrivacyGetSetZonePreferenceW
(
void
)
{
DWORD
ret
,
zone
,
type
,
template
,
old_template
;
DWORD
ret
,
zone
,
type
,
template
,
old_template
,
pref_size
=
0
;
WCHAR
pref
[
256
];
zone
=
3
;
type
=
0
;
...
...
@@ -1078,6 +1079,14 @@ static void test_PrivacyGetSetZonePreferenceW(void)
ret
=
pPrivacyGetZonePreferenceW
(
zone
,
type
,
&
old_template
,
NULL
,
NULL
);
ok
(
ret
==
0
,
"expected ret == 0, got %u
\n
"
,
ret
);
trace
(
"template %u
\n
"
,
old_template
);
if
(
old_template
==
PRIVACY_TEMPLATE_ADVANCED
)
{
pref_size
=
sizeof
(
pref
)
/
sizeof
(
WCHAR
);
ret
=
pPrivacyGetZonePreferenceW
(
zone
,
type
,
&
old_template
,
pref
,
&
pref_size
);
ok
(
ret
==
0
,
"expected ret == 0, got %u
\n
"
,
ret
);
}
template
=
5
;
ret
=
pPrivacySetZonePreferenceW
(
zone
,
type
,
template
,
NULL
);
ok
(
ret
==
0
,
"expected ret == 0, got %u
\n
"
,
ret
);
...
...
@@ -1088,7 +1097,7 @@ static void test_PrivacyGetSetZonePreferenceW(void)
ok
(
template
==
5
,
"expected template == 5, got %u
\n
"
,
template
);
template
=
5
;
ret
=
pPrivacySetZonePreferenceW
(
zone
,
type
,
old_template
,
NULL
);
ret
=
pPrivacySetZonePreferenceW
(
zone
,
type
,
old_template
,
pref_size
?
pref
:
NULL
);
ok
(
ret
==
0
,
"expected ret == 0, got %u
\n
"
,
ret
);
}
...
...
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