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
d3682dd3
Commit
d3682dd3
authored
Mar 02, 2008
by
Jacek Caban
Committed by
Alexandre Julliard
Mar 03, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet: Fixed some tests.
parent
b8092fba
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
internet.c
dlls/wininet/tests/internet.c
+3
-2
No files found.
dlls/wininet/tests/internet.c
View file @
d3682dd3
...
...
@@ -289,7 +289,8 @@ static void test_null(void)
sz
=
0
;
r
=
InternetGetCookieW
(
NULL
,
NULL
,
NULL
,
&
sz
);
ok
(
GetLastError
()
==
ERROR_INVALID_PARAMETER
,
"wrong error
\n
"
);
ok
(
GetLastError
()
==
ERROR_INVALID_PARAMETER
||
GetLastError
()
==
ERROR_INTERNET_UNRECOGNIZED_SCHEME
,
"wrong error %u
\n
"
,
GetLastError
());
ok
(
r
==
FALSE
,
"return wrong
\n
"
);
r
=
InternetGetCookieW
(
szServer
,
NULL
,
NULL
,
&
sz
);
...
...
@@ -315,7 +316,7 @@ static void test_null(void)
ok
(
r
==
TRUE
,
"return wrong
\n
"
);
/* sz == lstrlenW(buffer) only in XP SP1 */
ok
(
sz
==
1
+
lstrlenW
(
buffer
)
,
"sz wrong
\n
"
);
ok
(
sz
==
1
+
lstrlenW
(
buffer
)
||
sz
==
lstrlenW
(
buffer
),
"sz wrong %d
\n
"
,
sz
);
/* before XP SP2, buffer is "server; server" */
ok
(
!
lstrcmpW
(
szExpect
,
buffer
)
||
!
lstrcmpW
(
szServer
,
buffer
),
"cookie data wrong
\n
"
);
...
...
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