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
f89c3d58
Commit
f89c3d58
authored
Sep 08, 2016
by
Sebastian Lackner
Committed by
Alexandre Julliard
Sep 08, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32/tests: Fix incorrect usage of broken() function.
Signed-off-by:
Sebastian Lackner
<
sebastian@fds-team.de
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
4cffa0e2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
shelldispatch.c
dlls/shell32/tests/shelldispatch.c
+1
-1
shfldr_special.c
dlls/shell32/tests/shfldr_special.c
+1
-1
No files found.
dlls/shell32/tests/shelldispatch.c
View file @
f89c3d58
...
...
@@ -346,7 +346,7 @@ static void test_items(void)
ok
(
r
==
S_OK
,
"Folder::Items failed: %08x
\n
"
,
r
);
ok
(
!!
items
,
"items is null
\n
"
);
r
=
FolderItems_QueryInterface
(
items
,
&
IID_FolderItems2
,
(
void
**
)
&
items2
);
ok
(
r
==
S_OK
||
broken
(
E_NOINTERFACE
)
/* xp and later */
,
"FolderItems::QueryInterface failed: %08x
\n
"
,
r
);
ok
(
r
==
S_OK
||
broken
(
r
==
E_NOINTERFACE
)
/* xp and later */
,
"FolderItems::QueryInterface failed: %08x
\n
"
,
r
);
ok
(
!!
items2
||
broken
(
!
items2
)
/* xp and later */
,
"items2 is null
\n
"
);
r
=
FolderItems_QueryInterface
(
items
,
&
IID_FolderItems3
,
(
void
**
)
&
items3
);
ok
(
r
==
S_OK
,
"FolderItems::QueryInterface failed: %08x
\n
"
,
r
);
...
...
dlls/shell32/tests/shfldr_special.c
View file @
f89c3d58
...
...
@@ -166,7 +166,7 @@ if (0)
details
.
str
.
u
.
pOleStr
=
NULL
;
hr
=
IShellFolder2_GetDetailsOf
(
folder
,
NULL
,
0
,
&
details
);
ok
(
hr
==
S_OK
||
broken
(
E_NOTIMPL
)
/* W2K */
,
"got 0x%08x
\n
"
,
hr
);
ok
(
hr
==
S_OK
||
broken
(
hr
==
E_NOTIMPL
)
/* W2K */
,
"got 0x%08x
\n
"
,
hr
);
if
(
SHELL_OsIsUnicode
())
SHFree
(
details
.
str
.
u
.
pOleStr
);
/* test every column if method is implemented */
...
...
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