31#define SWP_NOCLIENTSIZE 0x0800
32#define SWP_NOCLIENTMOVE 0x1000
103 for (
i = 0;
i <
n;
i++)
113 unsigned int count = 0;
121 trace_(
file,
line)(
" %u: expected: %04x - actual: %04x wp %08lx lp %08lx\n",
162 trace_(
file,
line)(
" %u: expected: nothing - actual: %04x wp %08lx lp %08lx\n",
173 static const struct message end_of_sequence = {0, 0, 0, 0};
177 int failcount = 0,
dump = 0;
179 add_message(seq, sequence_index, &end_of_sequence);
197 "%s: in msg 0x%04x expecting wParam 0x%lx got 0x%lx\n",
204 "%s: in msg 0x%04x expecting wParam 0x%lx got 0x%lx\n",
219 "%s: in msg 0x%04x expecting lParam 0x%lx got 0x%lx\n",
226 "%s: in msg 0x%04x expecting lParam 0x%lx got 0x%lx\n",
241 "%s: in msg 0x%04x expecting cd stage 0x%08x got 0x%08x\n",
248 "%s: in msg 0x%04x expecting cd stage 0x%08x got 0x%08x\n",
268 "%s: in msg 0x%04x expecting id 0x%x got 0x%x\n",
275 "%s: in msg 0x%04x expecting id 0x%x got 0x%x\n",
288 "%s: the msg 0x%04x should %shave been sent by DefWindowProc\n",
295 "%s: the msg 0x%04x should %shave been sent by DefWindowProc\n",
301 "%s: the msg 0x%04x should %shave been sent by BeginPaint\n",
306 "%s: the msg 0x%04x should have been %s\n",
311 "%s: the msg 0x%04x was expected in %s\n",
316 "%s: the msg 0x%04x should have been sent by a hook\n",
321 "%s: the msg 0x%04x should have been sent by a winevent hook\n",
336 ok_(
file,
line) (
FALSE,
"%s: the msg 0x%04x was expected, but got msg 0x%04x instead\n",
343 ok_(
file,
line) (
FALSE,
"%s: the msg 0x%04x was expected, but got msg 0x%04x instead\n",
363 ok_(
file,
line) (
FALSE,
"%s: the msg sequence is not complete: expected %04x - actual %04x\n",
371 ok_(
file,
line) (
FALSE,
"%s: the msg sequence is not complete: expected %04x - actual %04x\n",
375 if(
todo && !failcount)
389#define ok_sequence(seq, index, exp, contx, todo) \
390 ok_sequence_(seq, index, (exp), (contx), (todo), __FILE__, __LINE__)
397 for (
i = 0;
i <
n;
i++)
398 seq[
i] = heap_alloc_zero(
sizeof(*seq[
i]));
int strcmp(const char *String1, const char *String2)
static void * heap_alloc(size_t len)
static BOOL heap_free(void *mem)
static void * heap_realloc(void *mem, size_t len)
static void dump_sequence(struct msg_sequence **seq, int sequence_index, const struct message *expected, const char *context, const char *file, int line)
static void init_msg_sequences(struct msg_sequence **seq, int n)
static void ok_sequence_(struct msg_sequence **seq, int sequence_index, const struct message *expected_list, const char *context, BOOL todo, const char *file, int line)
static void flush_sequences(struct msg_sequence **seq, int n)
GLuint GLuint GLsizei count
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
#define trace_(file, line,...)
static void dump(const void *ptr, unsigned len)
const char * winetest_platform
struct message * sequence
ActualNumberDriverObjects * sizeof(PDRIVER_OBJECT)) PDRIVER_OBJECT *DriverObjectList