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
7f5b4a46
Commit
7f5b4a46
authored
Sep 21, 2006
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
urlmon/tests: Don't fail the tests if the network is unreachable.
parent
b669fcaf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
url.c
dlls/urlmon/tests/url.c
+12
-2
No files found.
dlls/urlmon/tests/url.c
View file @
7f5b4a46
...
...
@@ -26,6 +26,7 @@
#include "windef.h"
#include "winbase.h"
#include "urlmon.h"
#include "wininet.h"
#include "wine/test.h"
...
...
@@ -430,8 +431,12 @@ static HRESULT WINAPI statusclb_OnStopBinding(IBindStatusCallback *iface, HRESUL
{
CHECK_EXPECT
(
OnStopBinding
);
ok
(
SUCCEEDED
(
hresult
),
"Download failed: %08lx
\n
"
,
hresult
);
ok
(
szError
==
NULL
,
"szError should be NULL
\n
"
);
/* ignore DNS failure */
if
(
hresult
!=
HRESULT_FROM_WIN32
(
ERROR_INTERNET_NAME_NOT_RESOLVED
))
{
ok
(
SUCCEEDED
(
hresult
),
"Download failed: %08lx
\n
"
,
hresult
);
ok
(
szError
==
NULL
,
"szError should be NULL
\n
"
);
}
stopped_binding
=
TRUE
;
return
S_OK
;
...
...
@@ -659,6 +664,11 @@ static void test_BindToStorage(void)
}
hres
=
IMoniker_BindToStorage
(
mon
,
bctx
,
NULL
,
&
IID_IStream
,
(
void
**
)
&
unk
);
if
(
test_protocol
==
HTTP_TEST
&&
hres
==
HRESULT_FROM_WIN32
(
ERROR_INTERNET_NAME_NOT_RESOLVED
))
{
trace
(
"Network unreachable, skipping tests
\n
"
);
return
;
}
ok
(
SUCCEEDED
(
hres
),
"IMoniker_BindToStorage failed: %08lx
\n
"
,
hres
);
if
(
!
SUCCEEDED
(
hres
))
return
;
...
...
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