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
88c05d90
Commit
88c05d90
authored
Nov 29, 2019
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winhttp/tests: Avoid winetest_strcmpW.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
8310d7c4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
winhttp.c
dlls/winhttp/tests/winhttp.c
+4
-4
No files found.
dlls/winhttp/tests/winhttp.c
View file @
88c05d90
...
...
@@ -3651,7 +3651,7 @@ static void test_credentials(void)
size
=
ARRAY_SIZE
(
buffer
);
ret
=
WinHttpQueryOption
(
req
,
WINHTTP_OPTION_PROXY_USERNAME
,
&
buffer
,
&
size
);
ok
(
ret
,
"failed to query proxy username %u
\n
"
,
GetLastError
());
ok
(
!
w
inetest_strcmpW
(
buffer
,
proxy_userW
),
"unexpected result %s
\n
"
,
wine_dbgstr_w
(
buffer
));
ok
(
!
w
cscmp
(
buffer
,
proxy_userW
),
"unexpected result %s
\n
"
,
wine_dbgstr_w
(
buffer
));
ok
(
size
==
lstrlenW
(
proxy_userW
)
*
sizeof
(
WCHAR
),
"unexpected result %u
\n
"
,
size
);
size
=
ARRAY_SIZE
(
buffer
);
...
...
@@ -3672,7 +3672,7 @@ static void test_credentials(void)
size
=
ARRAY_SIZE
(
buffer
);
ret
=
WinHttpQueryOption
(
req
,
WINHTTP_OPTION_PROXY_PASSWORD
,
&
buffer
,
&
size
);
ok
(
ret
,
"failed to query proxy password %u
\n
"
,
GetLastError
());
ok
(
!
w
inetest_strcmpW
(
buffer
,
proxy_passW
),
"unexpected result %s
\n
"
,
wine_dbgstr_w
(
buffer
));
ok
(
!
w
cscmp
(
buffer
,
proxy_passW
),
"unexpected result %s
\n
"
,
wine_dbgstr_w
(
buffer
));
ok
(
size
==
lstrlenW
(
proxy_passW
)
*
sizeof
(
WCHAR
),
"unexpected result %u
\n
"
,
size
);
ret
=
WinHttpSetOption
(
req
,
WINHTTP_OPTION_USERNAME
,
userW
,
lstrlenW
(
userW
));
...
...
@@ -3681,7 +3681,7 @@ static void test_credentials(void)
size
=
ARRAY_SIZE
(
buffer
);
ret
=
WinHttpQueryOption
(
req
,
WINHTTP_OPTION_USERNAME
,
&
buffer
,
&
size
);
ok
(
ret
,
"failed to query username %u
\n
"
,
GetLastError
());
ok
(
!
w
inetest_strcmpW
(
buffer
,
userW
),
"unexpected result %s
\n
"
,
wine_dbgstr_w
(
buffer
));
ok
(
!
w
cscmp
(
buffer
,
userW
),
"unexpected result %s
\n
"
,
wine_dbgstr_w
(
buffer
));
ok
(
size
==
lstrlenW
(
userW
)
*
sizeof
(
WCHAR
),
"unexpected result %u
\n
"
,
size
);
ret
=
WinHttpSetOption
(
req
,
WINHTTP_OPTION_PASSWORD
,
passW
,
lstrlenW
(
passW
));
...
...
@@ -3690,7 +3690,7 @@ static void test_credentials(void)
size
=
ARRAY_SIZE
(
buffer
);
ret
=
WinHttpQueryOption
(
req
,
WINHTTP_OPTION_PASSWORD
,
&
buffer
,
&
size
);
ok
(
ret
,
"failed to query password %u
\n
"
,
GetLastError
());
ok
(
!
w
inetest_strcmpW
(
buffer
,
passW
),
"unexpected result %s
\n
"
,
wine_dbgstr_w
(
buffer
));
ok
(
!
w
cscmp
(
buffer
,
passW
),
"unexpected result %s
\n
"
,
wine_dbgstr_w
(
buffer
));
ok
(
size
==
lstrlenW
(
passW
)
*
sizeof
(
WCHAR
),
"unexpected result %u
\n
"
,
size
);
WinHttpCloseHandle
(
req
);
...
...
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