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
b8ba0e6f
Commit
b8ba0e6f
authored
Sep 29, 2021
by
Nikolay Sivov
Committed by
Alexandre Julliard
Sep 29, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32/tests: Add a GetComparisonData() test for composite.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
01feab9e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
moniker.c
dlls/ole32/tests/moniker.c
+12
-0
No files found.
dlls/ole32/tests/moniker.c
View file @
b8ba0e6f
...
...
@@ -3173,6 +3173,7 @@ static void test_generic_composite_moniker(void)
IUnknown
*
unknown
;
IROTData
*
rotdata
;
IMarshal
*
marshal
;
BYTE
buffer
[
100
];
IStream
*
stream
;
unsigned
int
i
;
FILETIME
ft
;
...
...
@@ -3606,6 +3607,17 @@ todo_wine
hr
=
IMoniker_GetDisplayName
(
moniker
,
bindctx
,
NULL
,
&
str
);
ok
(
hr
==
E_NOTIMPL
,
"Unexpected hr %#x.
\n
"
,
hr
);
/* Comparison data, pointer component does not support it. */
hr
=
IMoniker_QueryInterface
(
moniker
,
&
IID_IROTData
,
(
void
**
)
&
rotdata
);
ok
(
hr
==
S_OK
,
"Unexpected hr %#x.
\n
"
,
hr
);
len
=
0
;
hr
=
IROTData_GetComparisonData
(
rotdata
,
buffer
,
sizeof
(
buffer
),
&
len
);
todo_wine
{
ok
(
hr
==
E_NOTIMPL
,
"Unexpected hr %#x.
\n
"
,
hr
);
ok
(
!
len
,
"Unexpected length %u.
\n
"
,
len
);
}
IROTData_Release
(
rotdata
);
IMoniker_Release
(
moniker
);
IBindCtx_Release
(
bindctx
);
...
...
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