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
f85e7dc3
Commit
f85e7dc3
authored
May 10, 2009
by
Nicolas Le Cam
Committed by
Alexandre Julliard
May 11, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet/tests: Fix test when automatically detect network settings is on.
parent
6ef2402c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
http.c
dlls/wininet/tests/http.c
+10
-1
No files found.
dlls/wininet/tests/http.c
View file @
f85e7dc3
...
...
@@ -2321,6 +2321,7 @@ struct notification
unsigned
int
status
;
/* status received */
int
async
;
/* delivered from another thread? */
int
todo
;
int
optional
;
};
struct
info
...
...
@@ -2356,6 +2357,13 @@ static void CALLBACK check_notification( HINTERNET handle, DWORD_PTR context, DW
return
;
}
while
(
info
->
test
[
i
].
status
!=
status
&&
info
->
test
[
i
].
optional
&&
i
<
info
->
count
-
1
&&
info
->
test
[
i
].
function
==
info
->
test
[
i
+
1
].
function
)
{
i
++
;
}
status_ok
=
(
info
->
test
[
i
].
status
==
status
);
function_ok
=
(
info
->
test
[
i
].
function
==
info
->
function
);
...
...
@@ -2375,7 +2383,7 @@ static void CALLBACK check_notification( HINTERNET handle, DWORD_PTR context, DW
todo_wine
ok
(
function_ok
,
"%u: expected function %u got %u
\n
"
,
info
->
line
,
info
->
test
[
i
].
function
,
info
->
function
);
}
if
(
i
==
info
->
count
-
1
||
info
->
test
[
i
].
function
!=
info
->
test
[
i
+
1
].
function
)
SetEvent
(
info
->
wait
);
info
->
index
++
;
info
->
index
=
i
+
1
;
LeaveCriticalSection
(
&
notification_cs
);
}
...
...
@@ -2390,6 +2398,7 @@ static const struct notification async_send_request_ex_test[] =
{
{
internet_connect
,
INTERNET_STATUS_HANDLE_CREATED
,
0
},
{
http_open_request
,
INTERNET_STATUS_HANDLE_CREATED
,
0
},
{
http_send_request_ex
,
INTERNET_STATUS_DETECTING_PROXY
,
1
,
0
,
1
},
{
http_send_request_ex
,
INTERNET_STATUS_RESOLVING_NAME
,
1
},
{
http_send_request_ex
,
INTERNET_STATUS_NAME_RESOLVED
,
1
},
{
http_send_request_ex
,
INTERNET_STATUS_CONNECTING_TO_SERVER
,
1
},
...
...
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