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
c6de8ad9
Commit
c6de8ad9
authored
Jun 13, 2014
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jun 13, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz/tests: Unregister filters only when registered successfully.
parent
a95651a5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
filtergraph.c
dlls/quartz/tests/filtergraph.c
+10
-10
No files found.
dlls/quartz/tests/filtergraph.c
View file @
c6de8ad9
...
...
@@ -1847,17 +1847,17 @@ static void test_render_filter_priority(void)
get_connected_filter_name
(
ptestfilter
,
ConnectedFilterName1
);
ok
(
!
strcmp
(
ConnectedFilterName1
,
"TestfilterInstance3"
),
"unexpected connected filter: %s
\n
"
,
ConnectedFilterName1
);
}
hr
=
IFilterMapper2_UnregisterFilter
(
pMapper2
,
&
CLSID_LegacyAmFilterCategory
,
NULL
,
&
CLSID_TestFilter2
);
ok
(
SUCCEEDED
(
hr
),
"IFilterMapper2_UnregisterFilter failed with %x
\n
"
,
hr
);
hr
=
IFilterMapper2_UnregisterFilter
(
pMapper2
,
&
CLSID_LegacyAmFilterCategory
,
NULL
,
&
CLSID_TestFilter3
);
ok
(
SUCCEEDED
(
hr
),
"IFilterMapper2_UnregisterFilter failed with %x
\n
"
,
hr
);
hr
=
IFilterMapper2_UnregisterFilter
(
pMapper2
,
&
CLSID_LegacyAmFilterCategory
,
NULL
,
&
CLSID_TestFilter4
);
ok
(
SUCCEEDED
(
hr
),
"IFilterMapper2_UnregisterFilter failed with %x
\n
"
,
hr
);
hr
=
IFilterMapper2_UnregisterFilter
(
pMapper2
,
&
CLSID_LegacyAmFilterCategory
,
NULL
,
&
CLSID_TestFilter2
);
ok
(
hr
==
S_OK
,
"IFilterMapper2_UnregisterFilter failed with %x
\n
"
,
hr
);
hr
=
IFilterMapper2_UnregisterFilter
(
pMapper2
,
&
CLSID_LegacyAmFilterCategory
,
NULL
,
&
CLSID_TestFilter3
);
ok
(
hr
==
S_OK
,
"IFilterMapper2_UnregisterFilter failed with %x
\n
"
,
hr
);
hr
=
IFilterMapper2_UnregisterFilter
(
pMapper2
,
&
CLSID_LegacyAmFilterCategory
,
NULL
,
&
CLSID_TestFilter4
);
ok
(
hr
==
S_OK
,
"IFilterMapper2_UnregisterFilter failed with %x
\n
"
,
hr
);
}
out:
...
...
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