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
a5b5cef3
Commit
a5b5cef3
authored
Feb 09, 2023
by
Ziqing Hui
Committed by
Alexandre Julliard
Feb 22, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mf/tests: Add missing \n.
parent
8f2df17e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
transform.c
dlls/mf/tests/transform.c
+7
-7
No files found.
dlls/mf/tests/transform.c
View file @
a5b5cef3
...
...
@@ -1323,11 +1323,11 @@ static void check_dmo_set_input_type(IMediaObject *media_object, const GUID *sub
{
flag
=
flags
[
i
];
hr
=
IMediaObject_SetInputType
(
media_object
,
1
,
NULL
,
flag
);
ok
(
hr
==
DMO_E_INVALIDSTREAMINDEX
,
"SetInputType returned %#lx for flag %#lx."
,
hr
,
flag
);
ok
(
hr
==
DMO_E_INVALIDSTREAMINDEX
,
"SetInputType returned %#lx for flag %#lx.
\n
"
,
hr
,
flag
);
hr
=
IMediaObject_SetInputType
(
media_object
,
1
,
&
bad_media_type
,
flag
);
ok
(
hr
==
DMO_E_INVALIDSTREAMINDEX
,
"SetInputType returned %#lx for flag %#lx."
,
hr
,
flag
);
ok
(
hr
==
DMO_E_INVALIDSTREAMINDEX
,
"SetInputType returned %#lx for flag %#lx.
\n
"
,
hr
,
flag
);
hr
=
IMediaObject_SetInputType
(
media_object
,
1
,
good_media_type
,
flag
);
ok
(
hr
==
DMO_E_INVALIDSTREAMINDEX
,
"SetInputType returned %#lx for flag %#lx."
,
hr
,
flag
);
ok
(
hr
==
DMO_E_INVALIDSTREAMINDEX
,
"SetInputType returned %#lx for flag %#lx.
\n
"
,
hr
,
flag
);
}
/* Test unaccepted type. */
...
...
@@ -1337,10 +1337,10 @@ static void check_dmo_set_input_type(IMediaObject *media_object, const GUID *sub
if
(
!
(
flag
&
DMO_SET_TYPEF_CLEAR
))
{
hr
=
IMediaObject_SetInputType
(
media_object
,
0
,
NULL
,
flag
);
ok
(
hr
==
DMO_E_TYPE_NOT_ACCEPTED
,
"SetInputType returned %#lx for flag %#lx."
,
hr
,
flag
);
ok
(
hr
==
DMO_E_TYPE_NOT_ACCEPTED
,
"SetInputType returned %#lx for flag %#lx.
\n
"
,
hr
,
flag
);
}
hr
=
IMediaObject_SetInputType
(
media_object
,
0
,
&
bad_media_type
,
flag
);
ok
(
hr
==
DMO_E_TYPE_NOT_ACCEPTED
,
"SetInputType returned %#lx for flag %#lx."
,
hr
,
flag
);
ok
(
hr
==
DMO_E_TYPE_NOT_ACCEPTED
,
"SetInputType returned %#lx for flag %#lx.
\n
"
,
hr
,
flag
);
}
/* Test clearing the type. */
...
...
@@ -1348,7 +1348,7 @@ static void check_dmo_set_input_type(IMediaObject *media_object, const GUID *sub
{
flag
=
DMO_SET_TYPEF_CLEAR
|
flags
[
i
];
hr
=
IMediaObject_SetInputType
(
media_object
,
0
,
NULL
,
flag
);
ok
(
hr
==
S_OK
,
"SetInputType returned %#lx for flag %#lx."
,
hr
,
flag
);
ok
(
hr
==
S_OK
,
"SetInputType returned %#lx for flag %#lx.
\n
"
,
hr
,
flag
);
}
/* Test accepted type. */
...
...
@@ -1356,7 +1356,7 @@ static void check_dmo_set_input_type(IMediaObject *media_object, const GUID *sub
{
flag
=
flags
[
i
];
hr
=
IMediaObject_SetInputType
(
media_object
,
0
,
good_media_type
,
flag
);
ok
(
hr
==
S_OK
,
"SetInputType returned %#lx for flag %#lx."
,
hr
,
flag
);
ok
(
hr
==
S_OK
,
"SetInputType returned %#lx for flag %#lx.
\n
"
,
hr
,
flag
);
}
/* Test unconsidered header member.*/
...
...
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