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
415d7a44
Commit
415d7a44
authored
May 02, 2012
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet/tests: Add some optional COOKIE_SENT messages in various places.
parent
b7bb7861
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
http.c
dlls/wininet/tests/http.c
+6
-2
No files found.
dlls/wininet/tests/http.c
View file @
415d7a44
...
@@ -128,7 +128,7 @@ static const test_data_t test_data[] = {
...
@@ -128,7 +128,7 @@ static const test_data_t test_data[] = {
"test.winehq.org"
,
"test.winehq.org"
,
"/tests/data.php"
,
"/tests/data.php"
,
""
,
""
,
TESTF_CHUNKED
TESTF_CHUNKED
|
TESTF_ALLOW_COOKIE
},
},
{
{
"http://test.winehq.org/tests/redirect"
,
"http://test.winehq.org/tests/redirect"
,
...
@@ -152,7 +152,7 @@ static const test_data_t test_data[] = {
...
@@ -152,7 +152,7 @@ static const test_data_t test_data[] = {
"test.winehq.org"
,
"test.winehq.org"
,
"/tests/post.php"
,
"/tests/post.php"
,
"Content-Type: application/x-www-form-urlencoded"
,
"Content-Type: application/x-www-form-urlencoded"
,
0
,
TESTF_ALLOW_COOKIE
,
"mode=Test"
,
"mode=Test"
,
"mode => Test
\n
"
"mode => Test
\n
"
}
}
...
@@ -766,6 +766,7 @@ static void InternetReadFileExA_test(int flags)
...
@@ -766,6 +766,7 @@ static void InternetReadFileExA_test(int flags)
SET_EXPECT
(
INTERNET_STATUS_RESOLVING_NAME
);
SET_EXPECT
(
INTERNET_STATUS_RESOLVING_NAME
);
SET_EXPECT
(
INTERNET_STATUS_NAME_RESOLVED
);
SET_EXPECT
(
INTERNET_STATUS_NAME_RESOLVED
);
}
}
SET_OPTIONAL
(
INTERNET_STATUS_COOKIE_SENT
);
SET_EXPECT
(
INTERNET_STATUS_CONNECTING_TO_SERVER
);
SET_EXPECT
(
INTERNET_STATUS_CONNECTING_TO_SERVER
);
SET_EXPECT
(
INTERNET_STATUS_CONNECTED_TO_SERVER
);
SET_EXPECT
(
INTERNET_STATUS_CONNECTED_TO_SERVER
);
SET_EXPECT2
(
INTERNET_STATUS_SENDING_REQUEST
,
2
);
SET_EXPECT2
(
INTERNET_STATUS_SENDING_REQUEST
,
2
);
...
@@ -819,6 +820,7 @@ static void InternetReadFileExA_test(int flags)
...
@@ -819,6 +820,7 @@ static void InternetReadFileExA_test(int flags)
CHECK_NOTIFIED
(
INTERNET_STATUS_REQUEST_COMPLETE
);
CHECK_NOTIFIED
(
INTERNET_STATUS_REQUEST_COMPLETE
);
else
else
todo_wine
CHECK_NOT_NOTIFIED
(
INTERNET_STATUS_REQUEST_COMPLETE
);
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 */
/* 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_CONNECTING_TO_SERVER
);
CLEAR_NOTIFIED
(
INTERNET_STATUS_CONNECTED_TO_SERVER
);
CLEAR_NOTIFIED
(
INTERNET_STATUS_CONNECTED_TO_SERVER
);
...
@@ -3318,6 +3320,7 @@ static const struct notification async_send_request_ex_test[] =
...
@@ -3318,6 +3320,7 @@ static const struct notification async_send_request_ex_test[] =
{
internet_connect
,
INTERNET_STATUS_HANDLE_CREATED
,
0
},
{
internet_connect
,
INTERNET_STATUS_HANDLE_CREATED
,
0
},
{
http_open_request
,
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_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_RESOLVING_NAME
,
1
,
0
,
1
},
{
http_send_request_ex
,
INTERNET_STATUS_NAME_RESOLVED
,
1
,
0
,
1
},
{
http_send_request_ex
,
INTERNET_STATUS_NAME_RESOLVED
,
1
,
0
,
1
},
{
http_send_request_ex
,
INTERNET_STATUS_CONNECTING_TO_SERVER
,
1
},
{
http_send_request_ex
,
INTERNET_STATUS_CONNECTING_TO_SERVER
,
1
},
...
@@ -3341,6 +3344,7 @@ static const struct notification async_send_request_ex_test2[] =
...
@@ -3341,6 +3344,7 @@ static const struct notification async_send_request_ex_test2[] =
{
internet_connect
,
INTERNET_STATUS_HANDLE_CREATED
,
0
},
{
internet_connect
,
INTERNET_STATUS_HANDLE_CREATED
,
0
},
{
http_open_request
,
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_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_RESOLVING_NAME
,
1
,
0
,
1
},
{
http_send_request_ex
,
INTERNET_STATUS_NAME_RESOLVED
,
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
},
{
http_send_request_ex
,
INTERNET_STATUS_CONNECTING_TO_SERVER
,
1
,
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