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
3951cb66
Commit
3951cb66
authored
Dec 14, 2012
by
Francois Gouget
Committed by
Alexandre Julliard
Dec 14, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winhttp/tests: Make some traces more explicit.
parent
5215895a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
winhttp.c
dlls/winhttp/tests/winhttp.c
+12
-12
No files found.
dlls/winhttp/tests/winhttp.c
View file @
3951cb66
...
...
@@ -2417,14 +2417,14 @@ static void test_IWinHttpRequest(void)
status
=
0
;
hr
=
IWinHttpRequest_get_Status
(
req
,
&
status
);
ok
(
hr
==
S_OK
,
"got %08x
\n
"
,
hr
);
trace
(
"%d
\n
"
,
status
);
trace
(
"
Status=
%d
\n
"
,
status
);
hr
=
IWinHttpRequest_get_StatusText
(
req
,
NULL
);
ok
(
hr
==
E_INVALIDARG
,
"got %08x
\n
"
,
hr
);
hr
=
IWinHttpRequest_get_StatusText
(
req
,
&
status_text
);
ok
(
hr
==
S_OK
,
"got %08x
\n
"
,
hr
);
trace
(
"%s
\n
"
,
wine_dbgstr_w
(
status_text
));
trace
(
"
StatusText=
%s
\n
"
,
wine_dbgstr_w
(
status_text
));
SysFreeString
(
status_text
);
hr
=
IWinHttpRequest_get_ResponseBody
(
req
,
NULL
);
...
...
@@ -2608,10 +2608,10 @@ static void test_WinHttpGetIEProxyConfigForCurrentUser(void)
ret
=
WinHttpGetIEProxyConfigForCurrentUser
(
&
cfg
);
ok
(
ret
,
"expected success
\n
"
);
trace
(
"%d
\n
"
,
cfg
.
fAutoDetect
);
trace
(
"%s
\n
"
,
wine_dbgstr_w
(
cfg
.
lpszAutoConfigUrl
));
trace
(
"%s
\n
"
,
wine_dbgstr_w
(
cfg
.
lpszProxy
));
trace
(
"%s
\n
"
,
wine_dbgstr_w
(
cfg
.
lpszProxyBypass
));
trace
(
"
IEProxy.AutoDetect=
%d
\n
"
,
cfg
.
fAutoDetect
);
trace
(
"
IEProxy.AutoConfigUrl=
%s
\n
"
,
wine_dbgstr_w
(
cfg
.
lpszAutoConfigUrl
));
trace
(
"
IEProxy.Proxy=
%s
\n
"
,
wine_dbgstr_w
(
cfg
.
lpszProxy
));
trace
(
"
IEProxy.ProxyBypass=
%s
\n
"
,
wine_dbgstr_w
(
cfg
.
lpszProxyBypass
));
GlobalFree
(
cfg
.
lpszAutoConfigUrl
);
GlobalFree
(
cfg
.
lpszProxy
);
GlobalFree
(
cfg
.
lpszProxyBypass
);
...
...
@@ -2700,9 +2700,9 @@ static void test_WinHttpGetProxyForUrl(void)
if
(
!
ret
)
ok
(
error
==
ERROR_WINHTTP_AUTODETECTION_FAILED
,
"got %u
\n
"
,
error
);
else
{
trace
(
"%u
\n
"
,
info
.
dwAccessType
);
trace
(
"%s
\n
"
,
wine_dbgstr_w
(
info
.
lpszProxy
));
trace
(
"%s
\n
"
,
wine_dbgstr_w
(
info
.
lpszProxyBypass
));
trace
(
"
Proxy.AccessType=
%u
\n
"
,
info
.
dwAccessType
);
trace
(
"
Proxy.Proxy=
%s
\n
"
,
wine_dbgstr_w
(
info
.
lpszProxy
));
trace
(
"
Proxy.ProxyBypass=
%s
\n
"
,
wine_dbgstr_w
(
info
.
lpszProxyBypass
));
GlobalFree
(
info
.
lpszProxy
);
GlobalFree
(
info
.
lpszProxyBypass
);
}
...
...
@@ -2718,9 +2718,9 @@ static void test_WinHttpGetProxyForUrl(void)
if
(
!
ret
)
ok
(
error
==
ERROR_WINHTTP_UNABLE_TO_DOWNLOAD_SCRIPT
,
"got %u
\n
"
,
error
);
else
{
trace
(
"%u
\n
"
,
info
.
dwAccessType
);
trace
(
"%s
\n
"
,
wine_dbgstr_w
(
info
.
lpszProxy
));
trace
(
"%s
\n
"
,
wine_dbgstr_w
(
info
.
lpszProxyBypass
));
trace
(
"
Proxy.AccessType=
%u
\n
"
,
info
.
dwAccessType
);
trace
(
"
Proxy.Proxy=
%s
\n
"
,
wine_dbgstr_w
(
info
.
lpszProxy
));
trace
(
"
Proxy.ProxyBypass=
%s
\n
"
,
wine_dbgstr_w
(
info
.
lpszProxyBypass
));
GlobalFree
(
info
.
lpszProxy
);
GlobalFree
(
info
.
lpszProxyBypass
);
}
...
...
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