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
1687c5cd
Commit
1687c5cd
authored
May 20, 2014
by
Jacek Caban
Committed by
Alexandre Julliard
May 20, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
urlmon: Fixed some occasionally failing tests.
parent
a6374aad
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
url.c
dlls/urlmon/tests/url.c
+8
-3
No files found.
dlls/urlmon/tests/url.c
View file @
1687c5cd
...
...
@@ -2810,6 +2810,7 @@ static BOOL test_RegisterBindStatusCallback(void)
#define BINDTEST_ABORT_START 0x0400
#define BINDTEST_ABORT_PROGRESS 0x0800
#define BINDTEST_ASYNC_SWITCH 0x1000
#define BINDTEST_ALLOW_FINDINGRESOURCE 0x2000
static
void
init_bind_test
(
int
protocol
,
DWORD
flags
,
DWORD
t
)
{
...
...
@@ -2885,9 +2886,11 @@ static void test_BindToStorage(int protocol, DWORD flags, DWORD t)
MSG
msg
;
IBindStatusCallback
*
previousclb
;
IUnknown
*
unk
=
(
IUnknown
*
)
0x00ff00ff
;
BOOL
allow_finding_resource
;
IBinding
*
bind
;
init_bind_test
(
protocol
,
flags
,
t
);
allow_finding_resource
=
(
flags
&
BINDTEST_ALLOW_FINDINGRESOURCE
)
!=
0
;
if
(
no_callback
)
{
hres
=
CreateBindCtx
(
0
,
&
bctx
);
...
...
@@ -2967,7 +2970,7 @@ static void test_BindToStorage(int protocol, DWORD flags, DWORD t)
SET_EXPECT
(
BeginningTransaction
);
SET_EXPECT
(
QueryInterface_IHttpNegotiate2
);
SET_EXPECT
(
GetRootSecurityId
);
if
(
http_is_first
)
if
(
http_is_first
||
allow_finding_resource
)
SET_EXPECT
(
OnProgress_FINDINGRESOURCE
);
SET_EXPECT
(
OnProgress_CONNECTING
);
}
...
...
@@ -3125,6 +3128,8 @@ static void test_BindToStorage(int protocol, DWORD flags, DWORD t)
CLEAR_CALLED
(
OnProgress_CONNECTING
);
}
}
else
if
(
!
abort_start
)
{
if
(
allow_finding_resource
)
CLEAR_CALLED
(
OnProgress_FINDINGRESOURCE
);
/* IE7 does call this */
CLEAR_CALLED
(
OnProgress_CONNECTING
);
}
...
...
@@ -3951,7 +3956,7 @@ START_TEST(url)
test_BindToObject
(
HTTP_TEST
,
0
,
S_OK
);
trace
(
"http test (short response)...
\n
"
);
test_BindToStorage
(
HTTP_TEST
,
BINDTEST_HTTPRESPONSE
,
TYMED_ISTREAM
);
test_BindToStorage
(
HTTP_TEST
,
BINDTEST_HTTPRESPONSE
|
BINDTEST_ALLOW_FINDINGRESOURCE
,
TYMED_ISTREAM
);
trace
(
"http test (short response, to object)...
\n
"
);
test_BindToObject
(
HTTP_TEST
,
0
,
S_OK
);
...
...
@@ -3965,7 +3970,7 @@ START_TEST(url)
test_BindToStorage
(
HTTP_TEST
,
BINDTEST_ABORT_START
,
TYMED_FILE
);
trace
(
"http test (abort progress)...
\n
"
);
test_BindToStorage
(
HTTP_TEST
,
BINDTEST_ABORT_PROGRESS
,
TYMED_FILE
);
test_BindToStorage
(
HTTP_TEST
,
BINDTEST_ABORT_PROGRESS
|
BINDTEST_ALLOW_FINDINGRESOURCE
,
TYMED_FILE
);
trace
(
"emulated http test...
\n
"
);
test_BindToStorage
(
HTTP_TEST
,
BINDTEST_EMULATE
,
TYMED_ISTREAM
);
...
...
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