29#define SWP_NOCLIENTSIZE 0x0800
30#define SWP_NOCLIENTMOVE 0x1000
101 for (
i = 0;
i <
n;
i++)
111 unsigned int count = 0;
119 trace_(
file,
line)(
" %u: expected: %04x - actual: %04x wp %08lx lp %08lx\n",
160 trace_(
file,
line)(
" %u: expected: nothing - actual: %04x wp %08lx lp %08lx\n",
171 static const struct message end_of_sequence = {0, 0, 0, 0};
175 int failcount = 0,
dump = 0;
177 add_message(seq, sequence_index, &end_of_sequence);
195 "%s: in msg 0x%04x expecting wParam 0x%lx got 0x%lx\n",
202 "%s: in msg 0x%04x expecting wParam 0x%lx got 0x%lx\n",
217 "%s: in msg 0x%04x expecting lParam 0x%lx got 0x%lx\n",
224 "%s: in msg 0x%04x expecting lParam 0x%lx got 0x%lx\n",
239 "%s: in msg 0x%04x expecting cd stage 0x%08x got 0x%08x\n",
246 "%s: in msg 0x%04x expecting cd stage 0x%08x got 0x%08x\n",
266 "%s: in msg 0x%04x expecting id 0x%x got 0x%x\n",
273 "%s: in msg 0x%04x expecting id 0x%x got 0x%x\n",
286 "%s: the msg 0x%04x should %shave been sent by DefWindowProc\n",
293 "%s: the msg 0x%04x should %shave been sent by DefWindowProc\n",
299 "%s: the msg 0x%04x should %shave been sent by BeginPaint\n",
304 "%s: the msg 0x%04x should have been %s\n",
309 "%s: the msg 0x%04x was expected in %s\n",
314 "%s: the msg 0x%04x should have been sent by a hook\n",
319 "%s: the msg 0x%04x should have been sent by a winevent hook\n",
334 ok_(
file,
line) (
FALSE,
"%s: the msg 0x%04x was expected, but got msg 0x%04x instead\n",
341 ok_(
file,
line) (
FALSE,
"%s: the msg 0x%04x was expected, but got msg 0x%04x instead\n",
361 ok_(
file,
line) (
FALSE,
"%s: the msg sequence is not complete: expected %04x - actual %04x\n",
369 ok_(
file,
line) (
FALSE,
"%s: the msg sequence is not complete: expected %04x - actual %04x\n",
373 if(
todo && !failcount)
387#define ok_sequence(seq, index, exp, contx, todo) \
388 ok_sequence_(seq, index, (exp), (contx), (todo), __FILE__, __LINE__)
395 for (
i = 0;
i <
n;
i++)
396 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