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
c05dbc4b
Commit
c05dbc4b
authored
Jul 29, 2018
by
Zebediah Figura
Committed by
Alexandre Julliard
Aug 14, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
devenum/tests: Remove a duplicate test.
This is tested below in test_vfw(). Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
ccfb4411
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
18 deletions
+1
-18
devenum.c
dlls/devenum/tests/devenum.c
+1
-18
No files found.
dlls/devenum/tests/devenum.c
View file @
c05dbc4b
...
...
@@ -37,11 +37,9 @@
DEFINE_GUID
(
GUID_NULL
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
);
static
const
WCHAR
friendly_name
[]
=
{
'F'
,
'r'
,
'i'
,
'e'
,
'n'
,
'd'
,
'l'
,
'y'
,
'N'
,
'a'
,
'm'
,
'e'
,
0
};
static
const
WCHAR
fcc_handlerW
[]
=
{
'F'
,
'c'
,
'c'
,
'H'
,
'a'
,
'n'
,
'd'
,
'l'
,
'e'
,
'r'
,
0
};
static
const
WCHAR
deviceW
[]
=
{
'@'
,
'd'
,
'e'
,
'v'
,
'i'
,
'c'
,
'e'
,
':'
,
0
};
static
const
WCHAR
clsidW
[]
=
{
'C'
,
'L'
,
'S'
,
'I'
,
'D'
,
0
};
static
const
WCHAR
waveW
[]
=
{
'w'
,
'a'
,
'v'
,
'e'
,
':'
,
0
};
static
const
WCHAR
mrleW
[]
=
{
'm'
,
'r'
,
'l'
,
'e'
,
0
};
static
const
WCHAR
dmoW
[]
=
{
'd'
,
'm'
,
'o'
,
':'
,
0
};
static
const
WCHAR
swW
[]
=
{
's'
,
'w'
,
':'
,
0
};
static
const
WCHAR
cmW
[]
=
{
'c'
,
'm'
,
':'
,
0
};
...
...
@@ -66,7 +64,6 @@ static void test_devenum(IBindCtx *bind_ctx)
ICreateDevEnum
*
create_devenum
;
IPropertyBag
*
prop_bag
;
IMoniker
*
moniker
;
BOOL
have_mrle
=
FALSE
;
GUID
cat_guid
,
clsid
;
WCHAR
*
displayname
;
VARIANT
var
;
...
...
@@ -129,17 +126,6 @@ static void test_devenum(IBindCtx *bind_ctx)
if
(
winetest_debug
>
1
)
trace
(
" %s %s
\n
"
,
wine_dbgstr_w
(
displayname
),
wine_dbgstr_w
(
V_BSTR
(
&
var
)));
if
(
IsEqualGUID
(
&
CLSID_VideoCompressorCategory
,
&
cat_guid
))
{
/* Test well known compressor to ensure that we really enumerate codecs */
hr
=
IPropertyBag_Read
(
prop_bag
,
fcc_handlerW
,
&
var
,
NULL
);
if
(
SUCCEEDED
(
hr
))
{
ok
(
V_VT
(
&
var
)
==
VT_BSTR
,
"V_VT(var) = %d
\n
"
,
V_VT
(
&
var
));
if
(
!
lstrcmpW
(
V_BSTR
(
&
var
),
mrleW
))
have_mrle
=
TRUE
;
VariantClear
(
&
var
);
}
}
hr
=
IMoniker_BindToObject
(
moniker
,
bind_ctx
,
NULL
,
&
IID_IUnknown
,
NULL
);
ok
(
hr
==
E_POINTER
,
"got %#x
\n
"
,
hr
);
...
...
@@ -152,11 +138,8 @@ static void test_devenum(IBindCtx *bind_ctx)
}
ICreateDevEnum_Release
(
create_devenum
);
/* 64-bit windows are missing mrle codec */
if
(
sizeof
(
void
*
)
==
4
)
ok
(
have_mrle
,
"mrle codec not found
\n
"
);
}
static
void
test_moniker_isequal
(
void
)
{
HRESULT
res
;
...
...
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