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
a06d7de8
Commit
a06d7de8
authored
Nov 19, 2018
by
Zebediah Figura
Committed by
Alexandre Julliard
Nov 20, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32/tests: Remove some obsolete workarounds from test_ShellWindows().
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
25bb3b0b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
9 deletions
+1
-9
shelldispatch.c
dlls/shell32/tests/shelldispatch.c
+1
-9
No files found.
dlls/shell32/tests/shelldispatch.c
View file @
a06d7de8
...
...
@@ -1025,18 +1025,14 @@ static void test_ShellWindows(void)
hr
=
CoCreateInstance
(
&
CLSID_ShellWindows
,
NULL
,
CLSCTX_LOCAL_SERVER
,
&
IID_IShellWindows
,
(
void
**
)
&
shellwindows
);
#ifndef __i386__
todo_wine
#endif
ok
(
hr
==
S_OK
,
"got 0x%08x
\n
"
,
hr
);
/* TODO: remove when explorer startup with clean prefix is fixed */
if
(
hr
!=
S_OK
)
return
;
if
(
0
)
/* NULL out argument - currently crashes on Wine */
{
hr
=
IShellWindows_Register
(
shellwindows
,
NULL
,
0
,
SWC_EXPLORER
,
NULL
);
ok
(
hr
==
HRESULT_FROM_WIN32
(
RPC_X_NULL_REF_POINTER
),
"got 0x%08x
\n
"
,
hr
);
}
hr
=
IShellWindows_Register
(
shellwindows
,
NULL
,
0
,
SWC_EXPLORER
,
&
cookie
);
todo_wine
ok
(
hr
==
E_POINTER
,
"got 0x%08x
\n
"
,
hr
);
...
...
@@ -1114,9 +1110,6 @@ todo_wine {
IUnknown
*
unk
;
ok
(
disp
!=
NULL
,
"got %p
\n
"
,
disp
);
if
(
disp
==
NULL
)
goto
skip_disp_tests
;
ok
(
ret
!=
HandleToUlong
(
hwnd
),
"got %d
\n
"
,
ret
);
/* IDispatch-related tests */
...
...
@@ -1194,7 +1187,6 @@ if (hr == S_OK) {
IServiceProvider_Release
(
sp
);
IDispatch_Release
(
disp
);
}
skip_disp_tests:
disp
=
(
void
*
)
0xdeadbeef
;
ret
=
0xdead
;
...
...
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