Commit Graph

44 Commits

Author SHA1 Message Date
Michael Stefaniuc 04cb8d51a3 comctl32/tests: Use the available ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-06 21:18:42 +02:00
Nikolay Sivov 8874a6ecc3 comctl32/tests: Use the global memory allocation helpers.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-15 19:34:13 +01:00
Nikolay Sivov 3845cc10e8 comctl32/tests: Link to comctl32.dll dynamically.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-24 16:03:00 +01:00
Michael Stefaniuc 96185e23b4 comctl32/tests: Use wine_dbgstr_rect() to print RECTs.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-08 23:07:45 +09:00
Michael Stefaniuc fe9f23a2cb comctl32/tests: Use EqualRect() instead of open coding it.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-06 18:47:24 +09:00
André Hentschel af9073accb comctl32/tests: Make rebar.c compile with -D__WINESRC__. 2013-12-02 10:51:58 +01:00
Michael Stefaniuc 37caf788b5 comctl32/tests: comctl32.dll is already loaded. 2013-10-02 13:03:29 +02:00
Nikolay Sivov 2d5abbd1d7 comctl32: Forward WM_MEASUREITEM to Rebar notification window. 2013-05-20 12:08:00 +02:00
Francois Gouget bd7b345b26 Assorted spelling fixes & co. 2011-09-27 11:00:13 +02:00
Marko Nikolic 909794a2cb comctl32/tests: Removed sign comparison warning in rebar tests. 2011-06-06 21:49:20 +02:00
Greg Geldorp 50a25a8ebb comctl32/tests: Fix failures for 120DPI display. 2011-01-20 12:24:08 +01:00
Nikolay Sivov 6869f89a30 comctl32/tests: Fix a leak in rebar test data allocation (Valgrind). 2011-01-17 12:48:36 +01:00
Francois Gouget 1465b4d211 comctl32/tests: Add a trailing '\n' to an ok() call. 2010-12-03 16:08:17 +01:00
Austin Lund a4a60568a4 comctl32/tests: Fixed rebar layout tests that depend on system font widths. 2010-11-12 11:41:49 +01:00
Austin Lund 293e429296 comctl32/tests: Fixed rebar layout tests which depend on system font height. 2010-11-11 12:21:28 +01:00
Austin Lund cddcf039fc comctl32/tests: Changed rebar layout tests to load data dynamically. 2010-11-11 12:21:21 +01:00
Austin Lund 1f97cb2287 comctl32/tests: Change expect_band_content test to ensure line numbers are reported correctly on test failure. 2010-11-10 16:17:44 +01:00
Austin Lund 1eacb105b5 comctl32/tests: Fix band info tests that depend on system font heights. 2010-11-10 16:17:05 +01:00
Alexandre Julliard 55676e84ed comctl32/tests: Make some variables static. 2010-10-01 13:35:49 +02:00
Nikolay Sivov 60e467a6cd comctl32/rebar: Fix index check condition for RB_SHOWBAND. 2010-06-07 13:48:27 +02:00
Michael Stefaniuc 92e4e63353 comctl32/tests: Remove some superfluous casts around SendMessage(). 2009-12-28 12:27:14 +01:00
Nikolay Sivov 7fa3778d8c comctl32/rebar: Fix default just inserted band colors. 2009-12-23 14:27:30 +01:00
Nikolay Sivov 80ed866ff4 comctl32/tests: Explicitly create rebar for each test, cleanup main function a bit. 2009-12-23 14:27:30 +01:00
Nikolay Sivov 0f003ef48d comctl32/tests: Free imagelist after use. 2009-12-07 14:18:26 +01:00
Alexandre Julliard ae2b8a6e97 comctl32/tests: Fix some rebar tests on older comctl32 versions. 2009-09-25 15:13:25 +02:00
Nikolay Sivov 9ee5f26570 comctl32/rebar: Use proper structure size in tests and parameter checks. 2009-06-30 12:31:51 +02:00
Paul Vriens 87366355d2 comctl32/tests: Fix some typos (copy-paste). 2009-06-18 15:17:27 +02:00
Francois Gouget 96848a0605 Remove spaces before '\n's. 2009-03-09 12:05:58 +01:00
Michael Stefaniuc da6d7920de comctl32: Remove superfluous pointer casts. 2009-02-13 13:00:25 +01:00
Paul Vriens ef5a4a447c comctl32/tests: Free the library after use. 2008-03-10 19:12:54 +01:00
Mikołaj Zalewski 4d0bad870c comctl32: rebar: To check if an image is present iImage should be compared to -1 (with testcase). 2008-02-28 10:45:30 +01:00
Mikołaj Zalewski ecde1c3cc7 comctl32: rebar: Image height should be taken into account when computing the band height. 2008-02-28 10:45:20 +01:00
Francois Gouget e5b4c0f84b comctl32/tests: Call InitCommonControlsEx() if available, fall back to InitCommonControls() for the older controls, and skip the tests altogether for the newer ones. 2008-02-05 13:26:48 +01:00
Francois Gouget 7a5497b5c0 comctl32/tests: InitCommonControlsEx() is missing on Windows 95 so call InitCommonControls() instead. 2007-12-10 12:06:16 +01:00
Gerald Pfeifer aac8194c74 comctl32: Make parameters of expect_band_content() match the corresponding types of REBARBANDINFO and fix one format string. 2007-11-02 12:21:15 +01:00
Gerald Pfeifer 2cb5298a4c comctl32/tests: Avoid remove redundant invocation of MAKEINRESOURCEA for IDC_ARROW and IDC_IBEAM. 2007-10-15 17:50:35 +02:00
Huw Davies 75c2fb668d comctl32/tests: Skip some font dependent tests if we don't have System or Tahoma installed. 2007-10-09 12:34:36 +02:00
Stefan Huehner 51a7ca3440 Change some functions arguments from () -> (void). 2007-03-12 12:25:31 +01:00
Mikołaj Zalewski 6156154409 comctl32: rebar tests: Support different window border width. 2007-03-01 20:42:49 +01:00
Mikołaj Zalewski a02a680b72 comctl32: rebar: Test the RBN_HEIGHTCHANGE notify and do some fixes. 2007-02-26 14:07:40 +01:00
Mikołaj Zalewski ffbf61ae55 comctl32: rebar: Test and fix the WM_SIZE handler and REBAR_ForceResize. 2007-02-20 11:43:13 +01:00
Mikołaj Zalewski f0a7a74666 comctl32: rebar: Rewrite the layout code. 2007-02-20 11:40:19 +01:00
Paul Vriens aaa1c802a4 comctl32/tests: Fix typo (Coverity). 2007-02-07 22:06:00 +01:00
Mikołaj Zalewski 8909419b55 comctl32: rebar: Add some tests for rebar and change the way the header size is fixed. 2007-02-05 12:27:45 +01:00