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
4da091ed
Commit
4da091ed
authored
Feb 08, 2024
by
Santino Mazza
Committed by
Alexandre Julliard
Mar 18, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mf/test: Check the topologies id's in topo loader.
parent
fc97535c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
mf.c
dlls/mf/tests/mf.c
+9
-1
No files found.
dlls/mf/tests/mf.c
View file @
4da091ed
...
...
@@ -3951,7 +3951,7 @@ static void test_topology_loader(void)
IMFTopoLoader
*
loader
;
IUnknown
*
node_object
;
WORD
node_count
;
TOPOID
node_id
;
TOPOID
node_id
,
oldtopoid
,
newtopoid
;
DWORD
index
;
HRESULT
hr
;
BOOL
ret
;
...
...
@@ -4177,6 +4177,11 @@ static void test_topology_loader(void)
}
else
if
(
test
->
expected_result
==
S_OK
)
{
IMFTopology_GetTopologyID
(
topology
,
&
oldtopoid
);
IMFTopology_GetTopologyID
(
full_topology
,
&
newtopoid
);
todo_wine
ok
(
oldtopoid
==
newtopoid
,
"Expected the same topology id. %llu == %llu
\n
"
,
oldtopoid
,
newtopoid
);
ok
(
topology
!=
full_topology
,
"Expected a different object for the resolved topology.
\n
"
);
hr
=
IMFTopology_GetCount
(
full_topology
,
&
count
);
ok
(
hr
==
S_OK
,
"Failed to get attribute count, hr %#lx.
\n
"
,
hr
);
todo_wine
...
...
@@ -4324,6 +4329,9 @@ todo_wine {
hr
=
IMFTopoLoader_Load
(
loader
,
full_topology
,
&
topology2
,
NULL
);
ok
(
hr
==
S_OK
,
"Failed to resolve topology, hr %#lx.
\n
"
,
hr
);
ok
(
full_topology
!=
topology2
,
"Unexpected instance.
\n
"
);
IMFTopology_GetTopologyID
(
topology2
,
&
oldtopoid
);
IMFTopology_GetTopologyID
(
full_topology
,
&
newtopoid
);
todo_wine
ok
(
oldtopoid
==
newtopoid
,
"Expected the same topology id. %llu == %llu
\n
"
,
oldtopoid
,
newtopoid
);
hr
=
IMFTopology_GetUINT32
(
topology2
,
&
IID_IMFTopology
,
&
value
);
ok
(
hr
==
S_OK
,
"Unexpected hr %#lx.
\n
"
,
hr
);
...
...
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