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
5da40467
Commit
5da40467
authored
Feb 04, 2011
by
Austin English
Committed by
Alexandre Julliard
Feb 07, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet/tests: Make sure to use return value (LLVM/Clang).
parent
fe628d49
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
internet.c
dlls/wininet/tests/internet.c
+7
-0
No files found.
dlls/wininet/tests/internet.c
View file @
5da40467
...
...
@@ -304,6 +304,7 @@ static void test_complicated_cookie(void)
len
=
1024
;
ret
=
InternetGetCookie
(
"http://testing.example.com"
,
NULL
,
buffer
,
&
len
);
ok
(
ret
==
TRUE
,
"InternetGetCookie failed
\n
"
);
ok
(
strstr
(
buffer
,
"A=B"
)
!=
NULL
,
"A=B missing
\n
"
);
ok
(
strstr
(
buffer
,
"C=D"
)
!=
NULL
,
"C=D missing
\n
"
);
ok
(
strstr
(
buffer
,
"E=F"
)
!=
NULL
,
"E=F missing
\n
"
);
...
...
@@ -315,6 +316,7 @@ static void test_complicated_cookie(void)
len
=
1024
;
ret
=
InternetGetCookie
(
"http://testing.example.com/foobar"
,
NULL
,
buffer
,
&
len
);
ok
(
ret
==
TRUE
,
"InternetGetCookie failed
\n
"
);
ok
(
strstr
(
buffer
,
"A=B"
)
!=
NULL
,
"A=B missing
\n
"
);
ok
(
strstr
(
buffer
,
"C=D"
)
!=
NULL
,
"C=D missing
\n
"
);
ok
(
strstr
(
buffer
,
"E=F"
)
!=
NULL
,
"E=F missing
\n
"
);
...
...
@@ -326,6 +328,7 @@ static void test_complicated_cookie(void)
len
=
1024
;
ret
=
InternetGetCookie
(
"http://testing.example.com/foobar/"
,
NULL
,
buffer
,
&
len
);
ok
(
ret
==
TRUE
,
"InternetGetCookie failed
\n
"
);
ok
(
strstr
(
buffer
,
"A=B"
)
!=
NULL
,
"A=B missing
\n
"
);
ok
(
strstr
(
buffer
,
"C=D"
)
!=
NULL
,
"C=D missing
\n
"
);
ok
(
strstr
(
buffer
,
"E=F"
)
!=
NULL
,
"E=F missing
\n
"
);
...
...
@@ -337,6 +340,7 @@ static void test_complicated_cookie(void)
len
=
1024
;
ret
=
InternetGetCookie
(
"http://testing.example.com/foo/bar"
,
NULL
,
buffer
,
&
len
);
ok
(
ret
==
TRUE
,
"InternetGetCookie failed
\n
"
);
ok
(
strstr
(
buffer
,
"A=B"
)
!=
NULL
,
"A=B missing
\n
"
);
ok
(
strstr
(
buffer
,
"C=D"
)
!=
NULL
,
"C=D missing
\n
"
);
ok
(
strstr
(
buffer
,
"E=F"
)
!=
NULL
,
"E=F missing
\n
"
);
...
...
@@ -348,6 +352,7 @@ static void test_complicated_cookie(void)
len
=
1024
;
ret
=
InternetGetCookie
(
"http://testing.example.com/barfoo"
,
NULL
,
buffer
,
&
len
);
ok
(
ret
==
TRUE
,
"InternetGetCookie failed
\n
"
);
ok
(
strstr
(
buffer
,
"A=B"
)
!=
NULL
,
"A=B missing
\n
"
);
ok
(
strstr
(
buffer
,
"C=D"
)
!=
NULL
,
"C=D missing
\n
"
);
ok
(
strstr
(
buffer
,
"E=F"
)
!=
NULL
,
"E=F missing
\n
"
);
...
...
@@ -359,6 +364,7 @@ static void test_complicated_cookie(void)
len
=
1024
;
ret
=
InternetGetCookie
(
"http://testing.example.com/barfoo/"
,
NULL
,
buffer
,
&
len
);
ok
(
ret
==
TRUE
,
"InternetGetCookie failed
\n
"
);
ok
(
strstr
(
buffer
,
"A=B"
)
!=
NULL
,
"A=B missing
\n
"
);
ok
(
strstr
(
buffer
,
"C=D"
)
!=
NULL
,
"C=D missing
\n
"
);
ok
(
strstr
(
buffer
,
"E=F"
)
!=
NULL
,
"E=F missing
\n
"
);
...
...
@@ -370,6 +376,7 @@ static void test_complicated_cookie(void)
len
=
1024
;
ret
=
InternetGetCookie
(
"http://testing.example.com/bar/foo"
,
NULL
,
buffer
,
&
len
);
ok
(
ret
==
TRUE
,
"InternetGetCookie failed
\n
"
);
ok
(
strstr
(
buffer
,
"A=B"
)
!=
NULL
,
"A=B missing
\n
"
);
ok
(
strstr
(
buffer
,
"C=D"
)
!=
NULL
,
"C=D missing
\n
"
);
ok
(
strstr
(
buffer
,
"E=F"
)
!=
NULL
,
"E=F missing
\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