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
fb81502a
Commit
fb81502a
authored
Mar 31, 2012
by
Morten Rønne
Committed by
Alexandre Julliard
Apr 05, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet/tests: Fixed text errors in tests.
parent
7bffd907
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
urlcache.c
dlls/wininet/tests/urlcache.c
+6
-6
No files found.
dlls/wininet/tests/urlcache.c
View file @
fb81502a
...
...
@@ -87,7 +87,7 @@ static void test_find_url_cache_entriesA(void)
if
(
!
ret
)
break
;
}
ok
(
found
,
"
c
ommitted url cache entry not found during enumeration
\n
"
);
ok
(
found
,
"
C
ommitted url cache entry not found during enumeration
\n
"
);
ret
=
FindCloseUrlCache
(
hEnumHandle
);
ok
(
ret
,
"FindCloseUrlCache failed with error %d
\n
"
,
GetLastError
());
...
...
@@ -494,7 +494,7 @@ static void test_urlcacheA(void)
cbCacheEntryInfo
=
0
;
SetLastError
(
0xdeadbeef
);
ret
=
GetUrlCacheEntryInfo
(
TEST_URL
,
NULL
,
&
cbCacheEntryInfo
);
ok
(
!
ret
,
"
RetrieveUrlCacheEntryFile
should have failed
\n
"
);
ok
(
!
ret
,
"
GetUrlCacheEntryInfo
should have failed
\n
"
);
ok
(
GetLastError
()
==
ERROR_INSUFFICIENT_BUFFER
,
"expected ERROR_INSUFFICIENT_BUFFER, got %d
\n
"
,
GetLastError
());
lpCacheEntryInfo
=
HeapAlloc
(
GetProcessHeap
(),
0
,
cbCacheEntryInfo
);
...
...
@@ -647,7 +647,7 @@ static void test_urlcacheA(void)
cbCacheEntryInfo
=
0
;
SetLastError
(
0xdeadbeef
);
ret
=
GetUrlCacheEntryInfo
(
TEST_URL
,
NULL
,
&
cbCacheEntryInfo
);
ok
(
!
ret
,
"
RetrieveUrlCacheEntryFile
should have failed
\n
"
);
ok
(
!
ret
,
"
GetUrlCacheEntryInfo
should have failed
\n
"
);
ok
(
GetLastError
()
==
ERROR_INSUFFICIENT_BUFFER
,
"expected ERROR_INSUFFICIENT_BUFFER, got %d
\n
"
,
GetLastError
());
lpCacheEntryInfo
=
HeapAlloc
(
GetProcessHeap
(),
0
,
cbCacheEntryInfo
);
...
...
@@ -657,7 +657,7 @@ static void test_urlcacheA(void)
"expected cache entry type NORMAL_CACHE_ENTRY | STICKY_CACHE_ENTRY, got %d (0x%08x)
\n
"
,
lpCacheEntryInfo
->
CacheEntryType
,
lpCacheEntryInfo
->
CacheEntryType
);
ok
(
U
(
*
lpCacheEntryInfo
).
dwExemptDelta
==
86400
,
"expected dwExemptDelta 86400
0
, got %d
\n
"
,
"expected dwExemptDelta 86400, got %d
\n
"
,
U
(
*
lpCacheEntryInfo
).
dwExemptDelta
);
HeapFree
(
GetProcessHeap
(),
0
,
lpCacheEntryInfo
);
if
(
pDeleteUrlCacheEntryA
)
...
...
@@ -679,7 +679,7 @@ static void test_urlcacheA(void)
cbCacheEntryInfo
=
0
;
SetLastError
(
0xdeadbeef
);
ret
=
GetUrlCacheEntryInfo
(
TEST_URL
,
NULL
,
&
cbCacheEntryInfo
);
ok
(
!
ret
,
"
RetrieveUrlCacheEntryFile
should have failed
\n
"
);
ok
(
!
ret
,
"
GetUrlCacheEntryInfo
should have failed
\n
"
);
ok
(
GetLastError
()
==
ERROR_INSUFFICIENT_BUFFER
,
"expected ERROR_INSUFFICIENT_BUFFER, got %d
\n
"
,
GetLastError
());
lpCacheEntryInfo
=
HeapAlloc
(
GetProcessHeap
(),
0
,
cbCacheEntryInfo
);
...
...
@@ -689,7 +689,7 @@ static void test_urlcacheA(void)
"expected cache entry type NORMAL_CACHE_ENTRY | STICKY_CACHE_ENTRY, got %d (0x%08x)
\n
"
,
lpCacheEntryInfo
->
CacheEntryType
,
lpCacheEntryInfo
->
CacheEntryType
);
ok
(
U
(
*
lpCacheEntryInfo
).
dwExemptDelta
==
86400
,
"expected dwExemptDelta 86400
0
, got %d
\n
"
,
"expected dwExemptDelta 86400, got %d
\n
"
,
U
(
*
lpCacheEntryInfo
).
dwExemptDelta
);
U
(
*
lpCacheEntryInfo
).
dwExemptDelta
=
0
;
ret
=
SetUrlCacheEntryInfoA
(
TEST_URL
,
lpCacheEntryInfo
,
...
...
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