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
6144addc
Commit
6144addc
authored
Sep 12, 2017
by
Fabian Maurer
Committed by
Alexandre Julliard
Sep 12, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/tests: Dump failed message sequence correctly.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
f4fe2b2d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
msg.h
dlls/comctl32/tests/msg.h
+4
-3
No files found.
dlls/comctl32/tests/msg.h
View file @
6144addc
...
@@ -165,11 +165,12 @@ static void dump_sequence( struct msg_sequence **seq, int sequence_index,
...
@@ -165,11 +165,12 @@ static void dump_sequence( struct msg_sequence **seq, int sequence_index,
}
}
static
void
ok_sequence_
(
struct
msg_sequence
**
seq
,
int
sequence_index
,
static
void
ok_sequence_
(
struct
msg_sequence
**
seq
,
int
sequence_index
,
const
struct
message
*
expected
,
const
char
*
context
,
BOOL
todo
,
const
struct
message
*
expected
_list
,
const
char
*
context
,
BOOL
todo
,
const
char
*
file
,
int
line
)
const
char
*
file
,
int
line
)
{
{
struct
msg_sequence
*
msg_seq
=
seq
[
sequence_index
];
static
const
struct
message
end_of_sequence
=
{
0
,
0
,
0
,
0
};
static
const
struct
message
end_of_sequence
=
{
0
,
0
,
0
,
0
};
struct
msg_sequence
*
msg_seq
=
seq
[
sequence_index
];
const
struct
message
*
expected
=
expected_list
;
const
struct
message
*
actual
,
*
sequence
;
const
struct
message
*
actual
,
*
sequence
;
int
failcount
=
0
,
dump
=
0
;
int
failcount
=
0
,
dump
=
0
;
...
@@ -379,7 +380,7 @@ static void ok_sequence_(struct msg_sequence **seq, int sequence_index,
...
@@ -379,7 +380,7 @@ static void ok_sequence_(struct msg_sequence **seq, int sequence_index,
}
}
done:
done:
if
(
dump
)
dump_sequence
(
seq
,
sequence_index
,
expected
,
context
,
file
,
line
);
if
(
dump
)
dump_sequence
(
seq
,
sequence_index
,
expected
_list
,
context
,
file
,
line
);
flush_sequence
(
seq
,
sequence_index
);
flush_sequence
(
seq
,
sequence_index
);
}
}
...
...
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