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
6fc9d7e5
Commit
6fc9d7e5
authored
May 31, 2008
by
James Hawkins
Committed by
Alexandre Julliard
Jun 02, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
urlmon: Fix a few failing tests in win2k3.
parent
85e839a2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
7 deletions
+12
-7
protocol.c
dlls/urlmon/tests/protocol.c
+12
-7
No files found.
dlls/urlmon/tests/protocol.c
View file @
6fc9d7e5
...
...
@@ -426,7 +426,7 @@ static HRESULT WINAPI ProtocolSink_ReportProgress(IInternetProtocolSink *iface,
ok
(
szStatusText
!=
NULL
,
"szStatusText == NULL
\n
"
);
if
(
szStatusText
)
{
if
(
binding_test
)
ok
(
szStatusText
==
expect_wsz
,
"unexpected szStatusText
\n
"
);
ok
(
!
lstrcmpW
(
szStatusText
,
expect_wsz
)
,
"unexpected szStatusText
\n
"
);
else
if
(
tested_protocol
==
FILE_TEST
)
ok
(
!
lstrcmpW
(
szStatusText
,
file_name
),
"szStatusText =
\"
%s
\"\n
"
,
debugstr_w
(
szStatusText
));
else
...
...
@@ -1721,13 +1721,18 @@ static void test_mk_protocol(void)
expect_hrResult
=
INET_E_RESOURCE_NOT_FOUND
;
hres
=
IInternetProtocol_Start
(
protocol
,
wrong_url2
,
&
protocol_sink
,
&
bind_info
,
0
,
0
);
ok
(
hres
==
INET_E_RESOURCE_NOT_FOUND
,
"Start failed: %08x, expected INET_E_RESOURCE_NOT_FOUND
\n
"
,
hres
);
ok
(
hres
==
INET_E_RESOURCE_NOT_FOUND
||
hres
==
INET_E_INVALID_URL
,
/* win2k3 */
"Start failed: %08x, expected INET_E_RESOURCE_NOT_FOUND or INET_E_INVALID_URL
\n
"
,
hres
);
CHECK_CALLED
(
GetBindInfo
);
CLEAR_CALLED
(
ReportProgress_DIRECTBIND
);
CHECK_CALLED
(
ReportProgress_SENDINGREQUEST
);
CHECK_CALLED
(
ReportProgress_MIMETYPEAVAILABLE
);
CHECK_CALLED
(
ReportResult
);
if
(
hres
==
INET_E_RESOURCE_NOT_FOUND
)
{
CHECK_CALLED
(
GetBindInfo
);
CLEAR_CALLED
(
ReportProgress_DIRECTBIND
);
CHECK_CALLED
(
ReportProgress_SENDINGREQUEST
);
CHECK_CALLED
(
ReportProgress_MIMETYPEAVAILABLE
);
CHECK_CALLED
(
ReportResult
);
}
IInternetProtocol_Release
(
protocol
);
}
...
...
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