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
8b7520ce
Commit
8b7520ce
authored
Sep 16, 2016
by
Vincent Povirk
Committed by
Alexandre Julliard
Sep 19, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus/tests: Check record types in playback tests.
Signed-off-by:
Vincent Povirk
<
vincent@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
410163a9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
metafile.c
dlls/gdiplus/tests/metafile.c
+5
-1
No files found.
dlls/gdiplus/tests/metafile.c
View file @
8b7520ce
...
...
@@ -211,12 +211,16 @@ static BOOL CALLBACK play_metafile_proc(EmfPlusRecordType record_type, unsigned
{
todo_wine_if
(
state
->
expected
[
state
->
count
].
playback_todo
)
ok
(
stat
==
Ok
,
"%s.%i: GdipPlayMetafileRecord failed with stat %i
\n
"
,
state
->
desc
,
state
->
count
,
stat
);
todo_wine_if
(
state
->
expected
[
state
->
count
].
todo
)
ok
(
state
->
expected
[
state
->
count
].
record_type
==
record_type
,
"%s.%i: expected record type 0x%x, got 0x%x
\n
"
,
state
->
desc
,
state
->
count
,
state
->
expected
[
state
->
count
].
record_type
,
record_type
);
state
->
count
++
;
}
else
{
todo_wine_if
(
state
->
expected
[
state
->
count
].
playback_todo
)
ok
(
0
,
"%s:
too many records
\n
"
,
state
->
desc
);
ok
(
0
,
"%s:
unexpected record 0x%x
\n
"
,
state
->
desc
,
record_type
);
return
FALSE
;
}
...
...
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