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
66dc9357
Commit
66dc9357
authored
Apr 18, 2019
by
Zebediah Figura
Committed by
Alexandre Julliard
Apr 19, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qedit/tests: Abort on missing qedit.dll.
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
cf274c6f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
36 additions
and
0 deletions
+36
-0
mediadet.c
dlls/qedit/tests/mediadet.c
+12
-0
samplegrabber.c
dlls/qedit/tests/samplegrabber.c
+12
-0
timeline.c
dlls/qedit/tests/timeline.c
+12
-0
No files found.
dlls/qedit/tests/mediadet.c
View file @
66dc9357
...
...
@@ -647,6 +647,9 @@ static void test_COM_sg_enumpins(void)
START_TEST
(
mediadet
)
{
IMediaDet
*
detector
;
HRESULT
hr
;
if
(
!
init_tests
())
{
skip
(
"Couldn't initialize tests!
\n
"
);
...
...
@@ -655,6 +658,15 @@ START_TEST(mediadet)
CoInitialize
(
NULL
);
if
(
FAILED
(
hr
=
CoCreateInstance
(
&
CLSID_MediaDet
,
NULL
,
CLSCTX_INPROC_SERVER
,
&
IID_IMediaDet
,
(
void
**
)
&
detector
)))
{
/* qedit.dll does not exist on 2003. */
win_skip
(
"Failed to create media detector object, hr %#x.
\n
"
,
hr
);
return
;
}
IMediaDet_Release
(
detector
);
test_aggregation
();
test_mediadet
();
test_samplegrabber
();
...
...
dlls/qedit/tests/samplegrabber.c
View file @
66dc9357
...
...
@@ -451,8 +451,20 @@ static void test_aggregation(void)
START_TEST
(
samplegrabber
)
{
IBaseFilter
*
filter
;
HRESULT
hr
;
CoInitialize
(
NULL
);
if
(
FAILED
(
hr
=
CoCreateInstance
(
&
CLSID_SampleGrabber
,
NULL
,
CLSCTX_INPROC_SERVER
,
&
IID_IBaseFilter
,
(
void
**
)
&
filter
)))
{
/* qedit.dll does not exist on 2003. */
win_skip
(
"Failed to create sample grabber filter, hr %#x.
\n
"
,
hr
);
return
;
}
IBaseFilter_Release
(
filter
);
test_interfaces
();
test_enum_pins
();
test_find_pin
();
...
...
dlls/qedit/tests/timeline.c
View file @
66dc9357
...
...
@@ -246,8 +246,20 @@ static void test_timelineobj_interfaces(void)
START_TEST
(
timeline
)
{
IAMTimeline
*
timeline
;
HRESULT
hr
;
CoInitialize
(
NULL
);
if
(
FAILED
(
hr
=
CoCreateInstance
(
&
CLSID_AMTimeline
,
NULL
,
CLSCTX_INPROC_SERVER
,
&
IID_IAMTimeline
,
(
void
**
)
&
timeline
)))
{
/* qedit.dll does not exist on 2003. */
win_skip
(
"Failed to create timeline object, hr %#x.
\n
"
,
hr
);
return
;
}
IAMTimeline_Release
(
timeline
);
test_aggregation
();
test_timeline
();
test_timelineobj_interfaces
();
...
...
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