Commit Graph

28 Commits

Author SHA1 Message Date
Michael Stefaniuc 89327da738 gdi32/tests: Avoid the comma operator.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-10 11:13:37 +02:00
Michael Stefaniuc 314a276f19 gdi32/tests: Use the available ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-26 13:29:10 +02:00
Thomas Faber 656bc70f80 gdi32/tests: Avoid variable length arrays (MSVC). 2015-02-17 22:28:14 +09:00
Dmitry Timoshkov f81c2e1caf gdi32/tests: Fix pen tests compilation with __WINESRC__ defined. 2013-10-16 11:41:21 +02:00
Michael Stefaniuc 4f94913e04 gdi32/tests: Replace FIELD_OFFSET with offsetof for the sake of consistency. 2013-08-19 13:48:43 +02:00
Michael Stefaniuc 14e20162f9 gdi32/tests: Use offsetof instead of sizeof on structs with VLA. 2013-08-19 13:30:43 +02:00
Michael Stefaniuc da425748bb gdi32/tests: Use the standard way of allocating a struct with VLA on the stack. 2013-08-19 13:30:11 +02:00
Alexandre Julliard a1fdd5856f gdi32: Store the pattern brush information for geometric pens. 2011-12-30 11:04:23 +01:00
Alexandre Julliard 5a67227078 gdi32/tests: Get rid of Win9x compatibility in the pen tests. 2011-12-29 19:20:50 +01:00
Alexandre Julliard bbd7f4e0e3 gdi32: Fix handling of invalid pen styles. 2011-12-28 16:33:35 +01:00
Alexandre Julliard 6098a0457b gdi32/tests: Avoid some array bounds warnings. 2011-11-07 11:43:46 +01:00
Daniel Santos 7a4349bb99 gdi32: Remove PS_USERSTYLE FIXME and workarounds. 2011-10-14 20:26:44 +02:00
Francois Gouget 3de330db54 tests: Remove unneeded assert.h includes. 2011-09-27 10:59:56 +02:00
Huw Davies 404b820289 gdi32/tests: Skip the tests if the pen type is not supported. 2011-06-21 11:29:08 +02:00
André Hentschel 56233536e8 gdi32/tests: Don't test function directly when reporting GetLastError(). 2011-01-03 11:54:06 +01:00
Gerald Pfeifer db9c3b0f53 gdi32/tests: Fix another test description in test_logpen. 2010-09-08 13:24:49 +02:00
Gerald Pfeifer b2e2793e28 gdi32/tests: Fix a test description in test_logpen. 2010-09-06 16:13:22 +02:00
Paul Vriens 59cc56b15a gdi32/tests: Skip several tests on Win9x. 2009-04-20 14:12:43 +02:00
Paul Vriens 3668edcdf4 gdi32/tests: Fix some test failures on Win9x. 2009-03-13 14:52:52 +01:00
Alexandre Julliard ac543e5bc7 gdi32/tests: Fix an uninitialized value check and a structure size for Win64. 2009-01-10 21:05:52 +01:00
Dmitry Timoshkov 40e1e39785 gdi32: Make the PS_NULL test pass under Wine. 2008-10-01 09:56:41 -05:00
Dmitry Timoshkov 830f1563c6 gdi32: Add a test for PS_NULL pen being equal to NULL_PEN stock object. 2008-09-29 17:25:36 -05:00
James Hawkins 4c7cb8a339 gdi32: Fix a failing test in win98. 2008-08-29 13:22:14 +02:00
Austin English 45b944ed51 gdi32: Spelling fixes. 2008-03-25 19:58:31 +01:00
Evan Stade eca194da7f gdi32: Handle PS_USERSTYLE in ExtCreatePen. 2007-07-31 12:35:48 +02:00
Evan Stade ff5076c008 gdi32: Added more tests for ExtCreatePen on PS_USERSTLYE. 2007-07-31 12:35:30 +02:00
Felix Nawothnig 7fc0becf6e gdi32: Add PS_ALTERNATE tests. 2007-03-13 21:54:42 +01:00
Alexandre Julliard 7dfc447741 gdi32: Renamed the gdi directory to gdi32. 2006-10-20 12:25:29 +02:00