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
a5ce5d63
Commit
a5ce5d63
authored
Feb 11, 2024
by
Piotr Caban
Committed by
Alexandre Julliard
Feb 19, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet/tests: Add more INTERNET_OPTION_PER_CONNECTION_OPTION tests.
parent
62027a9c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
internet.c
dlls/wininet/tests/internet.c
+7
-0
No files found.
dlls/wininet/tests/internet.c
View file @
a5ce5d63
...
@@ -1308,6 +1308,13 @@ static void test_Option_PerConnectionOption(void)
...
@@ -1308,6 +1308,13 @@ static void test_Option_PerConnectionOption(void)
ok
(
ret
,
"HeapValidate failed, last error %lu
\n
"
,
GetLastError
());
ok
(
ret
,
"HeapValidate failed, last error %lu
\n
"
,
GetLastError
());
GlobalFree
(
options
[
0
].
Value
.
pszValue
);
GlobalFree
(
options
[
0
].
Value
.
pszValue
);
/* verify that global proxy settings were not changed */
ret
=
InternetQueryOptionW
(
NULL
,
INTERNET_OPTION_PER_CONNECTION_OPTION
,
&
list
,
&
size
);
ok
(
ret
,
"InternetQueryOption should've succeeded
\n
"
);
ok
(
lstrcmpW
(
options
[
0
].
Value
.
pszValue
,
proxy_srvW
),
"Retrieved proxy server should've been %s, was: %s
\n
"
,
wine_dbgstr_w
(
proxy_srvW
),
wine_dbgstr_w
(
options
[
0
].
Value
.
pszValue
));
/* disable the proxy server */
/* disable the proxy server */
list
.
dwOptionCount
=
1
;
list
.
dwOptionCount
=
1
;
options
[
0
].
dwOption
=
INTERNET_PER_CONN_FLAGS
;
options
[
0
].
dwOption
=
INTERNET_PER_CONN_FLAGS
;
...
...
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