Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Plan
Wiki
Bugzilla
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
wine
wine
Commits
4da091ed
Commit
4da091ed
authored
1 year ago
by
Santino Mazza
Committed by
Alexandre Julliard
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
mf/test: Check the topologies id's in topo loader.
parent
fc97535c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!5281
Preserve topology id of the original topology in the resolved topology when calling IMFTopoLoader::Load
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dlls/mf/tests/mf.c
+9
-1
9 additions, 1 deletion
dlls/mf/tests/mf.c
with
9 additions
and
1 deletion
dlls/mf/tests/mf.c
+
9
−
1
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
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment