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
ec093455
Commit
ec093455
authored
Sep 11, 2009
by
Ge van Geldorp
Committed by
Alexandre Julliard
Sep 11, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
urlmon/tests: Fix tests for IE8.
parent
5789e663
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
0 deletions
+22
-0
url.c
dlls/urlmon/tests/url.c
+22
-0
No files found.
dlls/urlmon/tests/url.c
View file @
ec093455
...
@@ -86,9 +86,11 @@ DEFINE_EXPECT(QueryInterface_IBindStatusCallbackHolder);
...
@@ -86,9 +86,11 @@ DEFINE_EXPECT(QueryInterface_IBindStatusCallbackHolder);
DEFINE_EXPECT
(
QueryInterface_IInternetBindInfo
);
DEFINE_EXPECT
(
QueryInterface_IInternetBindInfo
);
DEFINE_EXPECT
(
QueryInterface_IAuthenticate
);
DEFINE_EXPECT
(
QueryInterface_IAuthenticate
);
DEFINE_EXPECT
(
QueryInterface_IInternetProtocol
);
DEFINE_EXPECT
(
QueryInterface_IInternetProtocol
);
DEFINE_EXPECT
(
QueryInterface_IWindowForBindingUI
);
DEFINE_EXPECT
(
QueryService_IAuthenticate
);
DEFINE_EXPECT
(
QueryService_IAuthenticate
);
DEFINE_EXPECT
(
QueryService_IInternetProtocol
);
DEFINE_EXPECT
(
QueryService_IInternetProtocol
);
DEFINE_EXPECT
(
QueryService_IInternetBindInfo
);
DEFINE_EXPECT
(
QueryService_IInternetBindInfo
);
DEFINE_EXPECT
(
QueryService_IWindowForBindingUI
);
DEFINE_EXPECT
(
BeginningTransaction
);
DEFINE_EXPECT
(
BeginningTransaction
);
DEFINE_EXPECT
(
OnResponse
);
DEFINE_EXPECT
(
OnResponse
);
DEFINE_EXPECT
(
QueryInterface_IHttpNegotiate2
);
DEFINE_EXPECT
(
QueryInterface_IHttpNegotiate2
);
...
@@ -1099,6 +1101,11 @@ static HRESULT WINAPI ServiceProvider_QueryService(IServiceProvider *iface,
...
@@ -1099,6 +1101,11 @@ static HRESULT WINAPI ServiceProvider_QueryService(IServiceProvider *iface,
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
if
(
IsEqualGUID
(
&
IID_IWindowForBindingUI
,
guidService
))
{
CHECK_EXPECT
(
QueryService_IWindowForBindingUI
);
return
E_NOTIMPL
;
}
ok
(
0
,
"unexpected service %s
\n
"
,
debugstr_guid
(
guidService
));
ok
(
0
,
"unexpected service %s
\n
"
,
debugstr_guid
(
guidService
));
return
E_NOINTERFACE
;
return
E_NOINTERFACE
;
}
}
...
@@ -1174,6 +1181,11 @@ static HRESULT WINAPI statusclb_QueryInterface(IBindStatusCallbackEx *iface, REF
...
@@ -1174,6 +1181,11 @@ static HRESULT WINAPI statusclb_QueryInterface(IBindStatusCallbackEx *iface, REF
/* TODO */
/* TODO */
CHECK_EXPECT2
(
QueryInterface_IInternetBindInfo
);
CHECK_EXPECT2
(
QueryInterface_IInternetBindInfo
);
}
}
else
if
(
IsEqualGUID
(
&
IID_IWindowForBindingUI
,
riid
))
{
CHECK_EXPECT2
(
QueryInterface_IWindowForBindingUI
);
return
E_NOINTERFACE
;
}
else
else
{
{
ok
(
0
,
"unexpected interface %s
\n
"
,
debugstr_guid
(
riid
));
ok
(
0
,
"unexpected interface %s
\n
"
,
debugstr_guid
(
riid
));
...
@@ -2259,6 +2271,8 @@ static void test_BindToStorage(int protocol, BOOL emul, DWORD t)
...
@@ -2259,6 +2271,8 @@ static void test_BindToStorage(int protocol, BOOL emul, DWORD t)
SET_EXPECT
(
QueryInterface_IInternetBindInfo
);
SET_EXPECT
(
QueryInterface_IInternetBindInfo
);
SET_EXPECT
(
QueryService_IInternetBindInfo
);
SET_EXPECT
(
QueryService_IInternetBindInfo
);
SET_EXPECT
(
QueryInterface_IHttpNegotiate
);
SET_EXPECT
(
QueryInterface_IHttpNegotiate
);
SET_EXPECT
(
QueryInterface_IWindowForBindingUI
);
SET_EXPECT
(
QueryService_IWindowForBindingUI
);
SET_EXPECT
(
BeginningTransaction
);
SET_EXPECT
(
BeginningTransaction
);
SET_EXPECT
(
QueryInterface_IHttpNegotiate2
);
SET_EXPECT
(
QueryInterface_IHttpNegotiate2
);
SET_EXPECT
(
GetRootSecurityId
);
SET_EXPECT
(
GetRootSecurityId
);
...
@@ -2338,6 +2352,8 @@ static void test_BindToStorage(int protocol, BOOL emul, DWORD t)
...
@@ -2338,6 +2352,8 @@ static void test_BindToStorage(int protocol, BOOL emul, DWORD t)
CLEAR_CALLED
(
QueryInterface_IInternetBindInfo
);
CLEAR_CALLED
(
QueryInterface_IInternetBindInfo
);
CLEAR_CALLED
(
QueryService_IInternetBindInfo
);
CLEAR_CALLED
(
QueryService_IInternetBindInfo
);
CHECK_CALLED
(
QueryInterface_IHttpNegotiate
);
CHECK_CALLED
(
QueryInterface_IHttpNegotiate
);
CLEAR_CALLED
(
QueryInterface_IWindowForBindingUI
);
CLEAR_CALLED
(
QueryService_IWindowForBindingUI
);
CHECK_CALLED
(
BeginningTransaction
);
CHECK_CALLED
(
BeginningTransaction
);
if
(
have_IHttpNegotiate2
)
if
(
have_IHttpNegotiate2
)
{
{
...
@@ -2443,6 +2459,8 @@ static void test_BindToObject(int protocol, BOOL emul)
...
@@ -2443,6 +2459,8 @@ static void test_BindToObject(int protocol, BOOL emul)
SET_EXPECT
(
GetRootSecurityId
);
SET_EXPECT
(
GetRootSecurityId
);
SET_EXPECT
(
Obj_OnProgress_FINDINGRESOURCE
);
SET_EXPECT
(
Obj_OnProgress_FINDINGRESOURCE
);
SET_EXPECT
(
Obj_OnProgress_CONNECTING
);
SET_EXPECT
(
Obj_OnProgress_CONNECTING
);
SET_EXPECT
(
QueryInterface_IWindowForBindingUI
);
SET_EXPECT
(
QueryService_IWindowForBindingUI
);
}
}
if
(
test_protocol
==
HTTP_TEST
||
test_protocol
==
HTTPS_TEST
||
test_protocol
==
FILE_TEST
)
if
(
test_protocol
==
HTTP_TEST
||
test_protocol
==
HTTPS_TEST
||
test_protocol
==
FILE_TEST
)
SET_EXPECT
(
Obj_OnProgress_SENDINGREQUEST
);
SET_EXPECT
(
Obj_OnProgress_SENDINGREQUEST
);
...
@@ -2526,6 +2544,8 @@ static void test_BindToObject(int protocol, BOOL emul)
...
@@ -2526,6 +2544,8 @@ static void test_BindToObject(int protocol, BOOL emul)
/* IE7 does call this */
/* IE7 does call this */
CLEAR_CALLED
(
Obj_OnProgress_CONNECTING
);
CLEAR_CALLED
(
Obj_OnProgress_CONNECTING
);
}
}
CLEAR_CALLED
(
QueryInterface_IWindowForBindingUI
);
CLEAR_CALLED
(
QueryService_IWindowForBindingUI
);
}
}
if
(
test_protocol
==
HTTP_TEST
||
test_protocol
==
HTTPS_TEST
||
test_protocol
==
FILE_TEST
)
{
if
(
test_protocol
==
HTTP_TEST
||
test_protocol
==
HTTPS_TEST
||
test_protocol
==
FILE_TEST
)
{
if
(
urls
[
test_protocol
]
==
SHORT_RESPONSE_URL
)
if
(
urls
[
test_protocol
]
==
SHORT_RESPONSE_URL
)
...
@@ -2591,6 +2611,7 @@ static void test_URLDownloadToFile(DWORD prot, BOOL emul)
...
@@ -2591,6 +2611,7 @@ static void test_URLDownloadToFile(DWORD prot, BOOL emul)
SET_EXPECT
(
BeginningTransaction
);
SET_EXPECT
(
BeginningTransaction
);
SET_EXPECT
(
QueryInterface_IHttpNegotiate2
);
SET_EXPECT
(
QueryInterface_IHttpNegotiate2
);
SET_EXPECT
(
GetRootSecurityId
);
SET_EXPECT
(
GetRootSecurityId
);
SET_EXPECT
(
QueryInterface_IWindowForBindingUI
);
}
}
if
(
test_protocol
==
HTTP_TEST
||
test_protocol
==
HTTPS_TEST
||
test_protocol
==
FILE_TEST
)
if
(
test_protocol
==
HTTP_TEST
||
test_protocol
==
HTTPS_TEST
||
test_protocol
==
FILE_TEST
)
SET_EXPECT
(
OnProgress_SENDINGREQUEST
);
SET_EXPECT
(
OnProgress_SENDINGREQUEST
);
...
@@ -2633,6 +2654,7 @@ static void test_URLDownloadToFile(DWORD prot, BOOL emul)
...
@@ -2633,6 +2654,7 @@ static void test_URLDownloadToFile(DWORD prot, BOOL emul)
CHECK_CALLED
(
QueryInterface_IHttpNegotiate2
);
CHECK_CALLED
(
QueryInterface_IHttpNegotiate2
);
CHECK_CALLED
(
GetRootSecurityId
);
CHECK_CALLED
(
GetRootSecurityId
);
}
}
CLEAR_CALLED
(
QueryInterface_IWindowForBindingUI
);
}
}
if
(
test_protocol
==
FILE_TEST
)
if
(
test_protocol
==
FILE_TEST
)
CHECK_CALLED
(
OnProgress_SENDINGREQUEST
);
CHECK_CALLED
(
OnProgress_SENDINGREQUEST
);
...
...
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