mirror of
https://github.com/reactos/wine.git
synced 2024-12-04 17:56:51 +00:00
comctl32/tests: Dump failed message sequence correctly.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
f4fe2b2dc8
commit
6144addcf0
@ -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,
|
||||
const struct message *expected, const char *context, BOOL todo,
|
||||
const struct message *expected_list, const char *context, BOOL todo,
|
||||
const char *file, int line)
|
||||
{
|
||||
struct msg_sequence *msg_seq = seq[sequence_index];
|
||||
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;
|
||||
int failcount = 0, dump = 0;
|
||||
|
||||
@ -379,7 +380,7 @@ static void ok_sequence_(struct msg_sequence **seq, int sequence_index,
|
||||
}
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user