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
4415171a
Commit
4415171a
authored
Apr 12, 2015
by
Gerald Pfeifer
Committed by
Alexandre Julliard
Apr 17, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet: Avoid four instances of "logical not is only applied to the to the left hand side".
parent
d2a91a3a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
urlcache.c
dlls/wininet/tests/urlcache.c
+4
-4
No files found.
dlls/wininet/tests/urlcache.c
View file @
4415171a
...
...
@@ -218,16 +218,16 @@ static void test_IsUrlCacheEntryExpiredA(void)
* is NULL.
*/
ret
=
IsUrlCacheEntryExpiredA
(
NULL
,
0
,
NULL
);
ok
(
!
ret
=
=
ie10_cache
,
"IsUrlCacheEntryExpiredA returned %x
\n
"
,
ret
);
ok
(
ret
!
=
ie10_cache
,
"IsUrlCacheEntryExpiredA returned %x
\n
"
,
ret
);
ft
.
dwLowDateTime
=
0xdeadbeef
;
ft
.
dwHighDateTime
=
0xbaadf00d
;
ret
=
IsUrlCacheEntryExpiredA
(
NULL
,
0
,
&
ft
);
ok
(
!
ret
=
=
ie10_cache
,
"IsUrlCacheEntryExpiredA returned %x
\n
"
,
ret
);
ok
(
ret
!
=
ie10_cache
,
"IsUrlCacheEntryExpiredA returned %x
\n
"
,
ret
);
ok
(
ft
.
dwLowDateTime
==
0xdeadbeef
&&
ft
.
dwHighDateTime
==
0xbaadf00d
,
"expected time to be unchanged, got (%u,%u)
\n
"
,
ft
.
dwLowDateTime
,
ft
.
dwHighDateTime
);
ret
=
IsUrlCacheEntryExpiredA
(
test_url
,
0
,
NULL
);
ok
(
!
ret
=
=
ie10_cache
,
"IsUrlCacheEntryExpiredA returned %x
\n
"
,
ret
);
ok
(
ret
!
=
ie10_cache
,
"IsUrlCacheEntryExpiredA returned %x
\n
"
,
ret
);
/* The return value should indicate whether the URL is expired,
* and the filetime indicates the last modified time, but a cache entry
...
...
@@ -310,7 +310,7 @@ static void test_IsUrlCacheEntryExpiredA(void)
ft
.
dwLowDateTime
=
0xdeadbeef
;
ft
.
dwHighDateTime
=
0xbaadf00d
;
ret
=
IsUrlCacheEntryExpiredA
(
uncached_url
,
0
,
&
ft
);
ok
(
!
ret
=
=
ie10_cache
,
"IsUrlCacheEntryExpiredA returned %x
\n
"
,
ret
);
ok
(
ret
!
=
ie10_cache
,
"IsUrlCacheEntryExpiredA returned %x
\n
"
,
ret
);
ok
(
!
ft
.
dwLowDateTime
&&
!
ft
.
dwHighDateTime
,
"expected time (0,0), got (%u,%u)
\n
"
,
ft
.
dwLowDateTime
,
ft
.
dwHighDateTime
);
...
...
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