Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lorenzo Ferrillo
wine
Commits
415d7a44
Commit
415d7a44
authored
12 years ago
by
Alexandre Julliard
Browse files
Options
Downloads
Patches
Plain Diff
wininet/tests: Add some optional COOKIE_SENT messages in various places.
parent
b7bb7861
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dlls/wininet/tests/http.c
+6
-2
6 additions, 2 deletions
dlls/wininet/tests/http.c
with
6 additions
and
2 deletions
dlls/wininet/tests/http.c
+
6
−
2
View file @
415d7a44
...
...
@@ -128,7 +128,7 @@ static const test_data_t test_data[] = {
"test.winehq.org"
,
"/tests/data.php"
,
""
,
TESTF_CHUNKED
TESTF_CHUNKED
|
TESTF_ALLOW_COOKIE
},
{
"http://test.winehq.org/tests/redirect"
,
...
...
@@ -152,7 +152,7 @@ static const test_data_t test_data[] = {
"test.winehq.org"
,
"/tests/post.php"
,
"Content-Type: application/x-www-form-urlencoded"
,
0
,
TESTF_ALLOW_COOKIE
,
"mode=Test"
,
"mode => Test
\n
"
}
...
...
@@ -766,6 +766,7 @@ static void InternetReadFileExA_test(int flags)
SET_EXPECT
(
INTERNET_STATUS_RESOLVING_NAME
);
SET_EXPECT
(
INTERNET_STATUS_NAME_RESOLVED
);
}
SET_OPTIONAL
(
INTERNET_STATUS_COOKIE_SENT
);
SET_EXPECT
(
INTERNET_STATUS_CONNECTING_TO_SERVER
);
SET_EXPECT
(
INTERNET_STATUS_CONNECTED_TO_SERVER
);
SET_EXPECT2
(
INTERNET_STATUS_SENDING_REQUEST
,
2
);
...
...
@@ -819,6 +820,7 @@ static void InternetReadFileExA_test(int flags)
CHECK_NOTIFIED
(
INTERNET_STATUS_REQUEST_COMPLETE
);
else
todo_wine
CHECK_NOT_NOTIFIED
(
INTERNET_STATUS_REQUEST_COMPLETE
);
CLEAR_NOTIFIED
(
INTERNET_STATUS_COOKIE_SENT
);
/* Sent on WinXP only if first_connection_to_test_url is TRUE, on Win98 always sent */
CLEAR_NOTIFIED
(
INTERNET_STATUS_CONNECTING_TO_SERVER
);
CLEAR_NOTIFIED
(
INTERNET_STATUS_CONNECTED_TO_SERVER
);
...
...
@@ -3318,6 +3320,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_COOKIE_SENT
,
1
,
0
,
1
},
{
http_send_request_ex
,
INTERNET_STATUS_RESOLVING_NAME
,
1
,
0
,
1
},
{
http_send_request_ex
,
INTERNET_STATUS_NAME_RESOLVED
,
1
,
0
,
1
},
{
http_send_request_ex
,
INTERNET_STATUS_CONNECTING_TO_SERVER
,
1
},
...
...
@@ -3341,6 +3344,7 @@ static const struct notification async_send_request_ex_test2[] =
{
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_COOKIE_SENT
,
1
,
0
,
1
},
{
http_send_request_ex
,
INTERNET_STATUS_RESOLVING_NAME
,
1
,
0
,
1
},
{
http_send_request_ex
,
INTERNET_STATUS_NAME_RESOLVED
,
1
,
0
,
1
},
{
http_send_request_ex
,
INTERNET_STATUS_CONNECTING_TO_SERVER
,
1
,
1
},
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment