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
fa583939
Commit
fa583939
authored
Oct 19, 2010
by
Jacek Caban
Committed by
Alexandre Julliard
Oct 19, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet: Skip more tests on IE older than 6.0.
parent
2f0b9dd3
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
38 additions
and
20 deletions
+38
-20
ftp.c
dlls/wininet/tests/ftp.c
+6
-6
http.c
dlls/wininet/tests/http.c
+15
-14
internet.c
dlls/wininet/tests/internet.c
+6
-0
url.c
dlls/wininet/tests/url.c
+5
-0
urlcache.c
dlls/wininet/tests/urlcache.c
+6
-0
No files found.
dlls/wininet/tests/ftp.c
View file @
fa583939
...
...
@@ -943,12 +943,6 @@ static void test_status_callbacks(HINTERNET hInternet)
HINTERNET
hFtp
;
BOOL
ret
;
if
(
!
pInternetSetStatusCallbackA
)
{
win_skip
(
"InternetSetStatusCallbackA() is not available, skipping test
\n
"
);
return
;
}
cb
=
pInternetSetStatusCallbackA
(
hInternet
,
status_callback
);
ok
(
cb
==
NULL
,
"expected NULL got %p
\n
"
,
cb
);
...
...
@@ -973,6 +967,12 @@ START_TEST(ftp)
HANDLE
hInternet
,
hFtp
,
hHttp
;
hWininet
=
GetModuleHandleA
(
"wininet.dll"
);
if
(
!
GetProcAddress
(
hWininet
,
"InternetGetCookieExW"
))
{
win_skip
(
"Too old IE (older than 6.0)
\n
"
);
return
;
}
pFtpCommandA
=
(
void
*
)
GetProcAddress
(
hWininet
,
"FtpCommandA"
);
pInternetSetStatusCallbackA
=
(
void
*
)
GetProcAddress
(
hWininet
,
"InternetSetStatusCallbackA"
);
...
...
dlls/wininet/tests/http.c
View file @
fa583939
...
...
@@ -3151,22 +3151,23 @@ START_TEST(http)
{
HMODULE
hdll
;
hdll
=
GetModuleHandleA
(
"wininet.dll"
);
pInternetSetStatusCallbackA
=
(
void
*
)
GetProcAddress
(
hdll
,
"InternetSetStatusCallbackA"
);
if
(
!
pInternetSetStatusCallbackA
)
skip
(
"skipping the InternetReadFile tests
\n
"
);
else
{
init_status_tests
();
InternetReadFile_test
(
INTERNET_FLAG_ASYNC
,
&
test_data
[
0
]);
InternetReadFile_test
(
0
,
&
test_data
[
0
]);
first_connection_to_test_url
=
TRUE
;
InternetReadFile_test
(
INTERNET_FLAG_ASYNC
,
&
test_data
[
1
]);
InternetReadFile_test
(
0
,
&
test_data
[
1
]);
InternetReadFileExA_test
(
INTERNET_FLAG_ASYNC
);
test_open_url_async
();
test_async_HttpSendRequestEx
();
if
(
!
GetProcAddress
(
hdll
,
"InternetGetCookieExW"
))
{
win_skip
(
"Too old IE (older than 6.0)
\n
"
);
return
;
}
pInternetSetStatusCallbackA
=
(
void
*
)
GetProcAddress
(
hdll
,
"InternetSetStatusCallbackA"
);
init_status_tests
();
InternetReadFile_test
(
INTERNET_FLAG_ASYNC
,
&
test_data
[
0
]);
InternetReadFile_test
(
0
,
&
test_data
[
0
]);
first_connection_to_test_url
=
TRUE
;
InternetReadFile_test
(
INTERNET_FLAG_ASYNC
,
&
test_data
[
1
]);
InternetReadFile_test
(
0
,
&
test_data
[
1
]);
InternetReadFileExA_test
(
INTERNET_FLAG_ASYNC
);
test_open_url_async
();
test_async_HttpSendRequestEx
();
InternetOpenRequest_test
();
test_http_cache
();
InternetOpenUrlA_test
();
...
...
dlls/wininet/tests/internet.c
View file @
fa583939
...
...
@@ -1129,6 +1129,12 @@ START_TEST(internet)
{
HMODULE
hdll
;
hdll
=
GetModuleHandleA
(
"wininet.dll"
);
if
(
!
GetProcAddress
(
hdll
,
"InternetGetCookieExW"
))
{
win_skip
(
"Too old IE (older than 6.0)
\n
"
);
return
;
}
pCreateUrlCacheContainerA
=
(
void
*
)
GetProcAddress
(
hdll
,
"CreateUrlCacheContainerA"
);
pCreateUrlCacheContainerW
=
(
void
*
)
GetProcAddress
(
hdll
,
"CreateUrlCacheContainerW"
);
pInternetTimeFromSystemTimeA
=
(
void
*
)
GetProcAddress
(
hdll
,
"InternetTimeFromSystemTimeA"
);
...
...
dlls/wininet/tests/url.c
View file @
fa583939
...
...
@@ -1103,6 +1103,11 @@ START_TEST(url)
{
int
i
;
if
(
!
GetProcAddress
(
GetModuleHandleA
(
"wininet.dll"
),
"InternetGetCookieExW"
))
{
win_skip
(
"Too old IE (older than 6.0)
\n
"
);
return
;
}
for
(
i
=
0
;
i
<
sizeof
(
crack_url_tests
)
/
sizeof
(
*
crack_url_tests
);
i
++
)
test_crack_url
(
crack_url_tests
+
i
);
...
...
dlls/wininet/tests/urlcache.c
View file @
fa583939
...
...
@@ -311,6 +311,12 @@ START_TEST(urlcache)
{
HMODULE
hdll
;
hdll
=
GetModuleHandleA
(
"wininet.dll"
);
if
(
!
GetProcAddress
(
hdll
,
"InternetGetCookieExW"
))
{
win_skip
(
"Too old IE (older than 6.0)
\n
"
);
return
;
}
pDeleteUrlCacheEntryA
=
(
void
*
)
GetProcAddress
(
hdll
,
"DeleteUrlCacheEntryA"
);
pUnlockUrlCacheEntryFileA
=
(
void
*
)
GetProcAddress
(
hdll
,
"UnlockUrlCacheEntryFileA"
);
test_urlcacheA
();
...
...
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