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
e8f69b5a
Commit
e8f69b5a
authored
Dec 13, 2007
by
Lei Zhang
Committed by
Alexandre Julliard
Dec 14, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz: Do aggregation test for more video renderer interfaces.
parent
bf20ca1d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
2 deletions
+15
-2
videorenderer.c
dlls/quartz/tests/videorenderer.c
+15
-2
No files found.
dlls/quartz/tests/videorenderer.c
View file @
e8f69b5a
...
...
@@ -190,6 +190,20 @@ static void test_query_interface(void)
RELEASE_EXPECT
(
pVideoWindow
,
1
);
}
static
void
test_all_aggregations
(
void
)
{
IID
iids
[]
=
{
IID_IMediaFilter
,
IID_IBaseFilter
,
IID_IBasicVideo
,
IID_IVideoWindow
};
int
i
;
for
(
i
=
0
;
i
<
sizeof
(
iids
)
/
sizeof
(
iids
[
0
]);
i
++
)
{
test_aggregation
(
CLSID_SystemClock
,
CLSID_VideoRenderer
,
IID_IReferenceClock
,
iids
[
i
]);
}
}
START_TEST
(
videorenderer
)
{
CoInitialize
(
NULL
);
...
...
@@ -197,8 +211,7 @@ START_TEST(videorenderer)
return
;
test_query_interface
();
test_aggregation
(
CLSID_SystemClock
,
CLSID_VideoRenderer
,
IID_IReferenceClock
,
IID_IVideoWindow
);
test_all_aggregations
();
release_video_renderer
();
}
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