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
e6307f1a
Commit
e6307f1a
authored
May 28, 2015
by
Damjan Jovanovic
Committed by
Alexandre Julliard
May 29, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qcap/tests: Test SmartTee filter aggregation.
parent
d126fd53
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
smartteefilter.c
dlls/qcap/tests/smartteefilter.c
+16
-0
No files found.
dlls/qcap/tests/smartteefilter.c
View file @
e6307f1a
...
...
@@ -1532,12 +1532,28 @@ end:
IEnumMediaTypes_Release
(
enumMediaTypes
);
}
static
void
test_smart_tee_filter_aggregation
(
void
)
{
SourceFilter
*
sourceFilter
=
create_SourceFilter
();
if
(
sourceFilter
)
{
IUnknown
*
unknown
=
NULL
;
HRESULT
hr
=
CoCreateInstance
(
&
CLSID_SmartTee
,
(
IUnknown
*
)
&
sourceFilter
->
IBaseFilter_iface
,
CLSCTX_INPROC_SERVER
,
&
IID_IUnknown
,
(
void
**
)
&
unknown
);
todo_wine
ok
(
SUCCEEDED
(
hr
),
"SmartTee filter doesn't support aggregation, hr=0x%08x
\n
"
,
hr
);
if
(
unknown
)
IUnknown_Release
(
unknown
);
IBaseFilter_Release
(
&
sourceFilter
->
IBaseFilter_iface
);
}
else
ok
(
0
,
"out of memory allocating SourceFilter for test
\n
"
);
}
START_TEST
(
smartteefilter
)
{
if
(
SUCCEEDED
(
CoInitialize
(
NULL
)))
{
event
=
CreateEventW
(
NULL
,
FALSE
,
FALSE
,
NULL
);
if
(
event
)
{
test_smart_tee_filter_aggregation
();
test_smart_tee_filter
();
CloseHandle
(
event
);
}
else
...
...
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