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
1b9573c8
Commit
1b9573c8
authored
Mar 12, 2019
by
Francois Gouget
Committed by
Alexandre Julliard
Mar 12, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mfplat/tests: Fix the trailing '\n's in ok() messages.
Signed-off-by:
Francois Gouget
<
fgouget@free.fr
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
5f79b5f6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
mfplat.c
dlls/mfplat/tests/mfplat.c
+5
-5
No files found.
dlls/mfplat/tests/mfplat.c
View file @
1b9573c8
...
@@ -1073,9 +1073,9 @@ static void test_MFCreateAsyncResult(void)
...
@@ -1073,9 +1073,9 @@ static void test_MFCreateAsyncResult(void)
ok
(
state
==
(
IUnknown
*
)
result
,
"Unexpected state.
\n
"
);
ok
(
state
==
(
IUnknown
*
)
result
,
"Unexpected state.
\n
"
);
refcount
=
IMFAsyncResult_Release
(
result2
);
refcount
=
IMFAsyncResult_Release
(
result2
);
ok
(
!
refcount
,
"Unexpected refcount %u
\n
.
"
,
refcount
);
ok
(
!
refcount
,
"Unexpected refcount %u
.
\n
"
,
refcount
);
refcount
=
IMFAsyncResult_Release
(
result
);
refcount
=
IMFAsyncResult_Release
(
result
);
ok
(
!
refcount
,
"Unexpected refcount %u
\n
.
"
,
refcount
);
ok
(
!
refcount
,
"Unexpected refcount %u
.
\n
"
,
refcount
);
/* Event handle is closed on release. */
/* Event handle is closed on release. */
hr
=
MFCreateAsyncResult
(
NULL
,
NULL
,
NULL
,
&
result
);
hr
=
MFCreateAsyncResult
(
NULL
,
NULL
,
NULL
,
&
result
);
...
@@ -1088,7 +1088,7 @@ static void test_MFCreateAsyncResult(void)
...
@@ -1088,7 +1088,7 @@ static void test_MFCreateAsyncResult(void)
ok
(
ret
,
"Failed to get handle info.
\n
"
);
ok
(
ret
,
"Failed to get handle info.
\n
"
);
refcount
=
IMFAsyncResult_Release
(
result
);
refcount
=
IMFAsyncResult_Release
(
result
);
ok
(
!
refcount
,
"Unexpected refcount %u
\n
.
"
,
refcount
);
ok
(
!
refcount
,
"Unexpected refcount %u
.
\n
"
,
refcount
);
ret
=
GetHandleInformation
(
event
,
&
flags
);
ret
=
GetHandleInformation
(
event
,
&
flags
);
ok
(
!
ret
,
"Expected handle to be closed.
\n
"
);
ok
(
!
ret
,
"Expected handle to be closed.
\n
"
);
...
@@ -1102,7 +1102,7 @@ static void test_MFCreateAsyncResult(void)
...
@@ -1102,7 +1102,7 @@ static void test_MFCreateAsyncResult(void)
ok
(
ret
,
"Failed to get handle info.
\n
"
);
ok
(
ret
,
"Failed to get handle info.
\n
"
);
refcount
=
IMFAsyncResult_Release
(
result
);
refcount
=
IMFAsyncResult_Release
(
result
);
ok
(
!
refcount
,
"Unexpected refcount %u
\n
.
"
,
refcount
);
ok
(
!
refcount
,
"Unexpected refcount %u
.
\n
"
,
refcount
);
ret
=
GetHandleInformation
(
event
,
&
flags
);
ret
=
GetHandleInformation
(
event
,
&
flags
);
ok
(
!
ret
,
"Expected handle to be closed.
\n
"
);
ok
(
!
ret
,
"Expected handle to be closed.
\n
"
);
}
}
...
@@ -1835,7 +1835,7 @@ static void test_MFInvokeCallback(void)
...
@@ -1835,7 +1835,7 @@ static void test_MFInvokeCallback(void)
ok
(
ret
==
WAIT_TIMEOUT
,
"Expected timeout, ret %#x.
\n
"
,
ret
);
ok
(
ret
==
WAIT_TIMEOUT
,
"Expected timeout, ret %#x.
\n
"
,
ret
);
refcount
=
IMFAsyncResult_Release
(
result
);
refcount
=
IMFAsyncResult_Release
(
result
);
ok
(
!
refcount
,
"Unexpected refcount %u
\n
.
"
,
refcount
);
ok
(
!
refcount
,
"Unexpected refcount %u
.
\n
"
,
refcount
);
hr
=
MFShutdown
();
hr
=
MFShutdown
();
ok
(
hr
==
S_OK
,
"Failed to shut down, hr %#x.
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"Failed to shut down, hr %#x.
\n
"
,
hr
);
...
...
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